public abstract class JournalInternalRecord extends Object implements EncodingSupport
Modifier and Type | Field and Description |
---|---|
protected byte |
compactCount |
protected int |
fileID |
Constructor and Description |
---|
JournalInternalRecord() |
Modifier and Type | Method and Description |
---|---|
void |
decode(ActiveMQBuffer buffer) |
short |
getCompactCount() |
abstract int |
getEncodeSize() |
int |
getFileID() |
int |
getNumberOfRecords() |
void |
setCompactCount(short compactCount) |
void |
setFileID(int fileID) |
void |
setNumberOfRecords(int records) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
public int getFileID()
public void setFileID(int fileID)
public void decode(ActiveMQBuffer buffer)
decode
in interface EncodingSupport
public void setNumberOfRecords(int records)
public int getNumberOfRecords()
public short getCompactCount()
public void setCompactCount(short compactCount)
public abstract int getEncodeSize()
getEncodeSize
in interface EncodingSupport
Copyright © 2016 The Apache Software Foundation. All rights reserved.