edu.mssm.crover.ims
Interface TransactionManager

All Known Implementing Classes:
IMS

public interface TransactionManager


Method Summary
 void abortTxn(java.lang.String txnName)
          Abort a transaction.
 void beginTxn(java.lang.String txnName)
          Begin a transaction.
 void commitTxn(java.lang.String txnName)
          Commit a transaction.
 void debugTxnStack()
           
 org.odmg.Database getDB()
           
 boolean txnInProgress()
           
 

Method Detail

abortTxn

void abortTxn(java.lang.String txnName)
Abort a transaction.

Parameters:
Name - of the transaction to commit.
Throws:
TransactionNotFoundException - When the named transaction cannot be found.

beginTxn

void beginTxn(java.lang.String txnName)
Begin a transaction.

Parameters:
Name - of the transaction to begin.

commitTxn

void commitTxn(java.lang.String txnName)
Commit a transaction.

Parameters:
Name - of the transaction to commit.
Throws:
TransactionNotFoundException - When the named transaction cannot be found. !!@exception TransactionOutOfOrderException when the named transaction is not at the top of the stack

debugTxnStack

void debugTxnStack()

txnInProgress

boolean txnInProgress()

getDB

org.odmg.Database getDB()


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