|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Loggable
A class that implements Loggable knows how to read and write itself into a ByteBuffer in a format suitable for the JE log or JE replication messages.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 buffer
LogException
void dumpLog(java.lang.StringBuffer sb, boolean verbose)
sb
- destination string bufferverbose
- if true, dump the full, verbose versionlong getTransactionId()
boolean logicalEquals(Loggable other)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |