| Modifier and Type | Field and Description |
|---|---|
static int |
TOMBSTONE_SIZE |
static int |
VALUE_RECORD_SIZE |
TOMB_HEADER_SIZE, VAL_HEADER_SIZE| Constructor and Description |
|---|
RecordOffHeap() |
| Modifier and Type | Method and Description |
|---|---|
int |
additionalInt() |
int |
decrementGarbageCount()
Decrements this record's garbage count.
|
void |
incrementGarbageCount()
Increments this record's garbage count.
|
long |
keyPrefix(KeyHandle ignored) |
void |
negateSeq()
Negates the value of the
rawSeq property. |
long |
rawSeqValue() |
int |
rawSizeValue() |
void |
setAdditionalInt(int value)
Sets the raw "additional int" property on this record.
|
void |
setRawSeqSize(long rawSeqValue,
int rawSizeValue)
Sets the raw "seq" and "size" values on this record.
|
deadOrAliveSeq, deadSeq, filePosition, garbageCount, isAlive, isTombstone, liveSeq, payloadSize, positionInUnitsOfBufsize, retire, setFilePosition, setGarbageCount, size, size, toRawSizeValue, toString, updatepublic static final int VALUE_RECORD_SIZE
public static final int TOMBSTONE_SIZE
public long rawSeqValue()
rawSeqValue in class RecordgarbageCount
keeps tracking the number of garbage records on the same key in the same chunk.public int rawSizeValue()
rawSizeValue in class Recordpublic long keyPrefix(KeyHandle ignored)
public int additionalInt()
additionalInt in class Recordpublic void setAdditionalInt(int value)
RecordsetAdditionalInt in class RecordRecord.additionalInt()public void negateSeq()
RecordrawSeq property.public int decrementGarbageCount()
RecorddecrementGarbageCount in class Recordpublic void incrementGarbageCount()
RecordincrementGarbageCount in class Recordpublic void setRawSeqSize(long rawSeqValue,
int rawSizeValue)
RecordsetRawSeqSize in class RecordRecord.rawSeqValue(),
Record.rawSizeValue()Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.