id, repMasterNodeId, time
Constructor and Description |
---|
TxnPrepare()
For constructing from the log.
|
TxnPrepare(long id,
javax.transaction.xa.Xid xid) |
Modifier and Type | Method and Description |
---|---|
void |
dumpLog(java.lang.StringBuilder sb,
boolean verbose)
Write the object into the string buffer for log dumping.
|
int |
getLogSize() |
protected java.lang.String |
getTagName() |
javax.transaction.xa.Xid |
getXid() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer logBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
getId, getLastLsn, getMasterNodeId, getTime, getTransactionId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTransactionId
public TxnPrepare(long id, javax.transaction.xa.Xid xid)
public TxnPrepare()
public javax.transaction.xa.Xid getXid()
protected java.lang.String getTagName()
getTagName
in class TxnEnd
public int getLogSize()
getLogSize
in interface Loggable
getLogSize
in class TxnEnd
Loggable.getLogSize()
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
writeToLog
in class TxnEnd
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer logBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
readFromLog
in class TxnEnd
Loggable.readFromLog(java.nio.ByteBuffer, int)
public void dumpLog(java.lang.StringBuilder sb, boolean verbose)
Loggable
dumpLog
in interface Loggable
dumpLog
in class TxnEnd
sb
- destination string bufferverbose
- if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuilder, boolean)
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
Always return false, this item should never be compared.
Copyright (c) 2004-2012 Oracle. All rights reserved.