public abstract class TxnEnd extends java.lang.Object implements Loggable
Modifier and Type | Field and Description |
---|---|
protected long |
id |
protected java.sql.Timestamp |
time |
Constructor and Description |
---|
TxnEnd()
For constructing from the log
|
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
long |
getId() |
int |
getLogSize() |
protected abstract java.lang.String |
getTagName() |
long |
getTransactionId() |
void |
readFromLog(java.nio.ByteBuffer logBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public long getId()
protected abstract java.lang.String getTagName()
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer logBuffer, byte entryTypeVersion)
Loggable
readFromLog
in interface Loggable
Loggable.readFromLog(java.nio.ByteBuffer, byte)
public void dumpLog(java.lang.StringBuffer sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
sb
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)
public long getTransactionId()
getTransactionId
in interface Loggable
Loggable.getTransactionId()