|
|||||||||
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(StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
int |
getLogSize()
|
long |
getTransactionId()
|
void |
readFromLog(ByteBuffer itemBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
Method Detail |
---|
int getLogSize()
void writeToLog(ByteBuffer logBuffer)
logBuffer
- is the destination buffervoid readFromLog(ByteBuffer itemBuffer, byte entryTypeVersion) throws LogException
itemBuf
- the source buffer
LogException
void dumpLog(StringBuffer sb, boolean verbose)
sb
- destination string bufferverbose
- if true, dump the full, verbose versionlong getTransactionId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |