com.sleepycat.je.txn
Class TxnCommit

java.lang.Object
  extended bycom.sleepycat.je.txn.TxnEnd
      extended bycom.sleepycat.je.txn.TxnCommit
All Implemented Interfaces:
LoggableObject, LogReadable, LogWritable

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)
           
 
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

TxnCommit

public TxnCommit(long id,
                 long lastLsn)

TxnCommit

public TxnCommit()
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.