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