public interface Loggable
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
int |
getLogSize() |
long |
getTransactionId() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
int getLogSize()
void writeToLog(java.nio.ByteBuffer logBuffer)
logBuffer
- is the destination buffervoid readFromLog(java.nio.ByteBuffer itemBuffer, byte entryVersion) throws LogException
itemBuf
- the source bufferLogException
void dumpLog(java.lang.StringBuffer sb, boolean verbose)
sb
- destination string bufferverbose
- if true, dump the full, verbose versionlong getTransactionId()
boolean logicalEquals(Loggable other)