com.sleepycat.je.txn
Class TxnAbort

java.lang.Object
  extended by com.sleepycat.je.txn.TxnEnd
      extended by 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.


Field Summary
 
Fields inherited from class com.sleepycat.je.txn.TxnEnd
id, time
 
Constructor Summary
TxnAbort()
          For constructing from the log.
TxnAbort(long id, long lastLsn)
           
 
Method Summary
 LogEntryType getLogType()
          All objects that are reponsible for a generating a type of log entry must implement this.
protected  String getTagName()
           
 
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
 

Constructor Detail

TxnAbort

public TxnAbort(long id,
                long lastLsn)

TxnAbort

public TxnAbort()
For constructing from the log.

Method Detail

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.