com.sleepycat.je.txn
Class TxnAbort

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


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
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
See Also:
TxnEnd.getLogType()

getTagName

protected String getTagName()
Specified by:
getTagName in class TxnEnd


Copyright 2004 Sleepycat, Inc. All Rights Reserved.