Class JournalInternalRecord
java.lang.Object
org.apache.activemq.artemis.core.journal.impl.dataformat.JournalInternalRecord
- All Implemented Interfaces:
EncodingSupport
- Direct Known Subclasses:
JournalAddRecord, JournalAddRecordTX, JournalCompleteRecordTX, JournalDeleteRecord, JournalDeleteRecordTX, JournalRollbackRecordTX
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) shortabstract intintintvoidsetCompactCount(short compactCount) voidsetFileID(int fileID) voidsetNumberOfRecords(int records) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EncodingSupport
encode
-
Field Details
-
fileID
protected int fileID -
compactCount
protected byte compactCount
-
-
Constructor Details
-
JournalInternalRecord
public JournalInternalRecord()
-
-
Method Details
-
getFileID
public int getFileID() -
setFileID
public void setFileID(int fileID) -
decode
public void decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) - Specified by:
decodein interfaceEncodingSupport
-
setNumberOfRecords
public void setNumberOfRecords(int records) -
getNumberOfRecords
public int getNumberOfRecords() -
getCompactCount
public short getCompactCount() -
setCompactCount
public void setCompactCount(short compactCount) -
getEncodeSize
public abstract int getEncodeSize()- Specified by:
getEncodeSizein interfaceEncodingSupport
-