Constructor and Description |
---|
CheckpointEnd() |
CheckpointEnd(java.lang.String invoker,
long checkpointStartLsn,
long rootLsn,
long firstActiveLsn,
long lastLocalNodeId,
long lastReplicatedNodeId,
int lastLocalDbId,
int lastReplicatedDbId,
long lastLocalTxnId,
long lastReplicatedTxnId,
long id) |
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 logBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
java.lang.String |
toString() |
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
public CheckpointEnd(java.lang.String invoker, long checkpointStartLsn, long rootLsn, long firstActiveLsn, long lastLocalNodeId, long lastReplicatedNodeId, int lastLocalDbId, int lastReplicatedDbId, long lastLocalTxnId, long lastReplicatedTxnId, long id)
public CheckpointEnd()
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 entryVersion) throws LogException
Loggable
readFromLog
in interface Loggable
LogException
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()
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
Always return false, this item should never be compared.
public java.lang.String toString()
toString
in class java.lang.Object