Textractor API textractor-720 (20091120123250)

textractor.database
Interface TransactionManager

All Known Implementing Classes:
DbManager

public interface TransactionManager

Interface that defines base database transaction processes.


Method Summary
 void abortTxn()
          Abort a transaction.
 void beginTxn()
          Begin a transaction.
 void commitTxn()
          Commit a transaction.
 void finalize()
          Finalize method for the class.
 boolean txnInProgress()
          Determines whether or not a Transaction is in progress.
 

Method Detail

abortTxn

void abortTxn()
Abort a transaction.

Throws:
TextractorDatabaseException

beginTxn

void beginTxn()
Begin a transaction.

Throws:
TextractorDatabaseException

commitTxn

void commitTxn()
               throws TextractorDatabaseException
Commit a transaction.

Throws:
TextractorDatabaseException

txnInProgress

boolean txnInProgress()
Determines whether or not a Transaction is in progress.

Returns:
true if a transaction is in progress, otherwise false

finalize

void finalize()
              throws Throwable
Finalize method for the class.

Throws:
Throwable

Textractor API textractor-720 (20091120123250)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.