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
public abstract class JournalInternalRecord extends Object implements EncodingSupport
-
-
Field Summary
Fields Modifier and Type Field Description protected bytecompactCountprotected intfileID
-
Constructor Summary
Constructors Constructor Description JournalInternalRecord()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddecode(ActiveMQBuffer buffer)shortgetCompactCount()abstract intgetEncodeSize()intgetFileID()intgetNumberOfRecords()voidsetCompactCount(short compactCount)voidsetFileID(int fileID)voidsetNumberOfRecords(int records)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.artemis.core.journal.EncodingSupport
encode
-
-
-
-
Method Detail
-
getFileID
public int getFileID()
-
setFileID
public void setFileID(int fileID)
-
decode
public void decode(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
-
-