|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.txn.TxnEnd
public abstract class TxnEnd
This class writes out a transaction commit or transaction end record.
Field Summary | |
---|---|
protected long |
id
|
protected Timestamp |
time
|
Constructor Summary | |
---|---|
TxnEnd()
For constructing from the log |
|
TxnEnd(long id,
long lastLsn)
|
Method Summary | |
---|---|
void |
dumpLog(StringBuffer sb,
boolean verbose)
Write the object into the string buffer for log dumping. |
long |
getId()
|
(package private) long |
getLastLsn()
|
int |
getLogSize()
|
protected abstract String |
getTagName()
|
long |
getTransactionId()
|
void |
readFromLog(ByteBuffer logBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf. |
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long id
protected Timestamp time
Constructor Detail |
---|
TxnEnd(long id, long lastLsn)
public TxnEnd()
Method Detail |
---|
public long getId()
long getLastLsn()
protected abstract String getTagName()
public int getLogSize()
getLogSize
in interface Loggable
Loggable.getLogSize()
public void writeToLog(ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer logBuffer, byte entryTypeVersion)
Loggable
readFromLog
in interface Loggable
Loggable.readFromLog(java.nio.ByteBuffer, byte)
public void dumpLog(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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |