public abstract class TxnEnd extends java.lang.Object implements Loggable
| Modifier and Type | Field and Description |
|---|---|
protected long |
id |
(package private) int |
repMasterNodeId |
protected java.sql.Timestamp |
time |
| Constructor and Description |
|---|
TxnEnd()
For constructing from the log
|
TxnEnd(long id,
long lastLsn,
int repMasterNodeId) |
| 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() |
(package private) long |
getLastLsn() |
int |
getLogSize() |
int |
getMasterNodeId() |
protected abstract java.lang.String |
getTagName() |
java.sql.Timestamp |
getTime() |
long |
getTransactionId() |
void |
readFromLog(java.nio.ByteBuffer logBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlogicalEqualsprotected long id
protected java.sql.Timestamp time
int repMasterNodeId
TxnEnd(long id,
long lastLsn,
int repMasterNodeId)
public TxnEnd()
public long getId()
public java.sql.Timestamp getTime()
long getLastLsn()
public int getMasterNodeId()
protected abstract java.lang.String getTagName()
public int getLogSize()
getLogSize in interface LoggableLoggable.getLogSize()public void writeToLog(java.nio.ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablelogBuffer - is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)public void readFromLog(java.nio.ByteBuffer logBuffer,
byte entryVersion)
LoggablereadFromLog in interface LoggableLoggable.readFromLog(java.nio.ByteBuffer, byte)public void dumpLog(java.lang.StringBuffer sb,
boolean verbose)
LoggabledumpLog in interface Loggablesb - destination string bufferverbose - if true, dump the full, verbose versionLoggable.dumpLog(java.lang.StringBuffer, boolean)public long getTransactionId()
getTransactionId in interface LoggableLoggable.getTransactionId()Copyright (c) 2004,2008 Oracle. All rights reserved.