Class RecordInfo
java.lang.Object
org.apache.activemq.artemis.core.journal.RecordInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal shortHow many times this record was compacted (up to 7 times) After the record has reached 7 times, it will always be 7 As we only store up to 0x7 binary, as part of the recordID (binary 111)final byte[]final longbooleanbooleanfinal byte -
Constructor Summary
ConstructorsConstructorDescriptionRecordInfo(long id, byte userRecordType, byte[] data, boolean isUpdate, boolean replaceableUpdate, short compactCount) -
Method Summary
-
Field Details
-
compactCount
public final short compactCountHow many times this record was compacted (up to 7 times) After the record has reached 7 times, it will always be 7 As we only store up to 0x7 binary, as part of the recordID (binary 111) -
id
public final long id -
userRecordType
public final byte userRecordType -
data
public final byte[] data -
isUpdate
public boolean isUpdate -
replaceableUpdate
public boolean replaceableUpdate
-
-
Constructor Details
-
RecordInfo
public RecordInfo(long id, byte userRecordType, byte[] data, boolean isUpdate, boolean replaceableUpdate, short compactCount)
-
-
Method Details