com.sleepycat.je
Class Transaction

java.lang.Object
  extended bycom.sleepycat.je.Transaction
Direct Known Subclasses:
TriggerTransaction

public class Transaction
extends Object

Javadoc for this public class is generated via the doc templates in the doc_src directory.


Constructor Summary
(package private) Transaction(Environment env, Txn txn)
          Creates a transaction.
 
Method Summary
 void abort()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void commit()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void commitNoSync()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void commitSync()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void commitWriteNoSync()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 long getId()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
(package private)  Locker getLocker()
          Internal use only.
 String getName()
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setLockTimeout(long timeOut)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setName(String name)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 void setTxnTimeout(long timeOut)
          Javadoc for this public method is generated via the doc templates in the doc_src directory.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Transaction

Transaction(Environment env,
            Txn txn)
Creates a transaction.

Method Detail

abort

public void abort()
           throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

getId

public long getId()
           throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

commit

public void commit()
            throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

commitSync

public void commitSync()
                throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

commitNoSync

public void commitNoSync()
                  throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

commitWriteNoSync

public void commitWriteNoSync()
                       throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

setTxnTimeout

public void setTxnTimeout(long timeOut)
                   throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

setLockTimeout

public void setLockTimeout(long timeOut)
                    throws DatabaseException
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Throws:
DatabaseException

setName

public void setName(String name)
Javadoc for this public method is generated via the doc templates in the doc_src directory.


getName

public String getName()
Javadoc for this public method is generated via the doc templates in the doc_src directory.


toString

public String toString()

getLocker

Locker getLocker()
           throws DatabaseException
Internal use only.

Throws:
DatabaseException


Copyright 2004 Sleepycat, Inc. All Rights Reserved.