TOMB_HEADER_SIZE, VAL_HEADER_SIZE| Constructor and Description |
|---|
RecordOnHeap(long seq,
int size,
boolean isTombstone,
int additionalInt) |
| 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 kh) |
void |
negateSeq()
Negates the value of the
rawSeq property. |
long |
rawSeqValue() |
int |
rawSizeValue() |
void |
setAdditionalInt(int newCount)
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 RecordOnHeap(long seq,
int size,
boolean isTombstone,
int additionalInt)
public final long rawSeqValue()
rawSeqValue in class RecordgarbageCount
keeps tracking the number of garbage records on the same key in the same chunk.public final int rawSizeValue()
rawSizeValue in class Recordpublic long keyPrefix(KeyHandle kh)
public final void negateSeq()
RecordrawSeq property.public final int additionalInt()
additionalInt in class Recordpublic final int decrementGarbageCount()
RecorddecrementGarbageCount in class Recordpublic final void incrementGarbageCount()
RecordincrementGarbageCount in class Recordpublic final void setAdditionalInt(int newCount)
RecordsetAdditionalInt in class RecordRecord.additionalInt()public final void setRawSeqSize(long rawSeqValue,
int rawSizeValue)
RecordsetRawSeqSize in class RecordRecord.rawSeqValue(),
Record.rawSizeValue()Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.