| Constructor and Description |
|---|
TxnPrepare()
For constructing from the log.
|
TxnPrepare(long id,
Xid xid) |
| Modifier and Type | Method and Description |
|---|---|
void |
dumpLog(StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
int |
getLogSize() |
protected String |
getTagName() |
Xid |
getXid() |
boolean |
logicalEquals(Loggable other)
Always return false, this item should never be compared.
|
void |
readFromLog(ByteBuffer logBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer.
|
getDTVLSN, getId, getMasterNodeId, getTime, getTransactionId, hasLoggedEntries, setDTVLSNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTransactionIdpublic TxnPrepare(long id,
Xid xid)
public TxnPrepare()
public Xid getXid()
protected String getTagName()
getTagName in class TxnEndpublic int getLogSize()
getLogSize in interface Loggablepublic void writeToLog(ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferpublic void readFromLog(ByteBuffer logBuffer, int entryVersion)
LoggablereadFromLog in interface LoggablelogBuffer - the source bufferentryVersion - the log version of the datapublic void dumpLog(StringBuilder sb, boolean verbose)
Loggablepublic boolean logicalEquals(Loggable other)
logicalEquals in interface LoggableCopyright © 2024. All rights reserved.