org.nodal.model
Interface TxnManager


public interface TxnManager

A manager of Txn items. Created on Sep 8, 2003

Author:
leei

Method Summary
 TxnBuilder currentTxn()
          The current memTxn being built.
 void currentTxnCommitted()
          Notify the TxnManager that the current Txn has been committed.
 Repository repository()
          The Repository for these Txns.
 

Method Detail

repository

public Repository repository()
The Repository for these Txns.

Returns:
the Repository for these Txns.

currentTxn

public TxnBuilder currentTxn()
The current memTxn being built.

Returns:
the current memTxn being built.

currentTxnCommitted

public void currentTxnCommitted()
Notify the TxnManager that the current Txn has been committed. Also has the effect of creating a new memTxn to be used for future TxnOperators.