com.sleepycat.je.txn
Class TxnCommit
java.lang.Object
com.sleepycat.je.txn.TxnEnd
com.sleepycat.je.txn.TxnCommit
- All Implemented Interfaces:
- Loggable
public class TxnCommit
- extends TxnEnd
This class writes out a transaction commit or transaction end record.
Constructor Summary |
TxnCommit()
For constructing from the log. |
TxnCommit(long id,
long lastLsn,
int masterId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TxnCommit
public TxnCommit(long id,
long lastLsn,
int masterId)
TxnCommit
public TxnCommit()
- For constructing from the log.
getTagName
protected 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)
Copyright (c) 2004-2010 Oracle. All rights reserved.