com.sleepycat.je
Class TriggerTransaction

java.lang.Object
  extended bycom.sleepycat.je.Transaction
      extended bycom.sleepycat.je.TriggerTransaction

class TriggerTransaction
extends Transaction

Prevents calling commit/abort from within a trigger.


Constructor Summary
(package private) TriggerTransaction(Environment env, Txn txn)
           
 
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.
 
Methods inherited from class com.sleepycat.je.Transaction
commitWriteNoSync, getId, getLocker, getName, setLockTimeout, setName, setTxnTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggerTransaction

TriggerTransaction(Environment env,
                   Txn txn)
Method Detail

abort

public void abort()
           throws DatabaseException
Description copied from class: Transaction
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Overrides:
abort in class Transaction
Throws:
DatabaseException

commit

public void commit()
            throws DatabaseException
Description copied from class: Transaction
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Overrides:
commit in class Transaction
Throws:
DatabaseException

commitSync

public void commitSync()
                throws DatabaseException
Description copied from class: Transaction
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Overrides:
commitSync in class Transaction
Throws:
DatabaseException

commitNoSync

public void commitNoSync()
                  throws DatabaseException
Description copied from class: Transaction
Javadoc for this public method is generated via the doc templates in the doc_src directory.

Overrides:
commitNoSync in class Transaction
Throws:
DatabaseException


Copyright 2004 Sleepycat, Inc. All Rights Reserved.