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:
Loggable

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, int masterId)
           
 
Method Summary
protected  java.lang.String getTagName()
           
 boolean logicalEquals(Loggable other)
           
 
Methods inherited from class com.sleepycat.je.txn.TxnEnd
dumpLog, getId, getLogSize, getMasterNodeId, getTime, getTransactionId, 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,
                int masterId)

TxnAbort

public TxnAbort()
For constructing from the log.

Method Detail

getTagName

protected java.lang.String getTagName()
Specified by:
getTagName in class TxnEnd

logicalEquals

public boolean logicalEquals(Loggable other)
Returns:
true if these two loggable items are logically the same. Used for replication testing.
See Also:
Loggable.logicalEquals(com.sleepycat.je.log.Loggable)