com.sleepycat.je.txn
Class TxnAbort
java.lang.Object
com.sleepycat.je.txn.TxnEnd
com.sleepycat.je.txn.TxnAbort
- All Implemented Interfaces:
- LoggableObject, LogReadable, LogWritable
public class TxnAbort
- extends TxnEnd
This class writes out a transaction commit or transaction end record.
Fields inherited from class com.sleepycat.je.txn.TxnEnd |
id, time |
Constructor Summary |
TxnAbort()
For constructing from the log. |
TxnAbort(long id,
long lastLsn)
|
Methods inherited from class com.sleepycat.je.txn.TxnEnd |
countAsObsoleteWhenLogged, dumpLog, getId, getLastLsn, getLogSize, getTransactionId, logEntryIsTransactional, marshallOutsideWriteLatch, postLogWork, readFromLog, writeToLog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxnAbort
public TxnAbort(long id,
long lastLsn)
TxnAbort
public TxnAbort()
- For constructing from the log.
getLogType
public LogEntryType getLogType()
- Description copied from interface:
LoggableObject
- All objects that are reponsible for a generating a type of log entry
must implement this.
- Specified by:
getLogType
in interface LoggableObject
- Specified by:
getLogType
in class TxnEnd
- Returns:
- the type of log entry
- See Also:
TxnEnd.getLogType()
getTagName
protected String getTagName()
- Specified by:
getTagName
in class TxnEnd
Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.