public interface Loggable
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuilder 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,
int 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, int entryVersion)
itemBuf
- the source buffervoid dumpLog(java.lang.StringBuilder sb, boolean verbose)
sb
- destination string bufferverbose
- if true, dump the full, verbose versionlong getTransactionId()
boolean logicalEquals(Loggable other)
Copyright (c) 2004-2012 Oracle. All rights reserved.