public class JournalAddRecord extends JournalInternalRecord
compactCount, fileID
Constructor and Description |
---|
JournalAddRecord(boolean add,
long id,
byte recordType,
EncodingSupport record) |
Modifier and Type | Method and Description |
---|---|
void |
encode(HornetQBuffer buffer) |
int |
getEncodeSize() |
decode, getCompactCount, getFileID, getNumberOfRecords, setCompactCount, setFileID, setNumberOfRecords
public JournalAddRecord(boolean add, long id, byte recordType, EncodingSupport record)
id
- recordType
- record
- public void encode(HornetQBuffer buffer)
public int getEncodeSize()
getEncodeSize
in interface EncodingSupport
getEncodeSize
in class JournalInternalRecord
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.