public interface ChecksumEntry
ChronicleHashBuilder
s
with ChronicleHashBuilder.checksumEntries(boolean)
configured to true
.Modifier and Type | Method and Description |
---|---|
boolean |
checkSum()
Computes checksum from the entry bytes and checks whether it is equal to the stored checksum.
|
void |
updateChecksum()
Re-computes and stores checksum for the entry.
|
void updateChecksum()
MapAbsentEntry.doInsert(Data)
, MapEntry.doReplaceValue(Data)
: it is performed automatically underneath. Call this method,
only when value bytes was updated directly, for example though Chronicle-Value-generated
interface.boolean checkSum()
true
if stored checksum equals to checksum computed from the entry bytesCopyright © 2015. All rights reserved.