SigPath

org.sigpath.database
Interface TransactionManager

All Known Implementing Classes:
SPDBManager

public interface TransactionManager

TransactionManager Interface that defines base database transaction processes.

Version:
1.0
Author:
Benjamin Chiang

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

Method Detail

abortTxn

void abortTxn()
              throws SigPathDatabaseException
Abort a transaction.

Throws:
SigPathDatabaseException

beginTxn

void beginTxn()
              throws SigPathDatabaseException
Begin a transaction.

Throws:
SigPathDatabaseException

commitTxn

void commitTxn()
               throws SigPathDatabaseException
Commit a transaction.

Throws:
SigPathDatabaseException

txnInProgress

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

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

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.