storage.support
Interface TxnProvider


public interface TxnProvider

A transaction manager.

A transaction manager that is responsible for creating new transactions and keeping track of a current transaction. The transactions managed by this interface are assumed to be "composition" transactions (i.e. not yet committed or complete).

If multiple, disjoint TxnProvider objects are created, then it is assumed that their current transactions are likewise distinct.


Method Summary
 StTxnAccum currentTxn()
          A "current" transaction object.
 

Method Detail

currentTxn

public StTxnAccum currentTxn()

A "current" transaction object.

This transaction is always an uncommmited, composable transaction. Some arrangement must be made so that whenever this transaction is committed, a new one is created and registered with the TxnProvider object.