tppt.xopen
Interface TMInterface

All Superinterfaces:
AX, TX
All Known Implementing Classes:
TransactionManager

public interface TMInterface
extends AX, TX

TMInterface defines the interface the user's TransactionManager has to implement. According to the X/Open Stardard, it extends another interface AX and TX respectively.

Version:
2.0
Author:
Jodie Wu
See Also:
AX, TX

Field Summary
static java.util.HashMap runningTrans
          Store all the running transactions using transaction id as the key and TransactionRecord as the value.
 
Method Summary
 java.util.HashMap getRunningTransaction()
          Obtains all the running transactions in the Transaction Manager now.
 
Methods inherited from interface tppt.xopen.AX
ax_reg
 
Methods inherited from interface tppt.xopen.TX
tx_begin, tx_close, tx_commit
 

Field Detail

runningTrans

public static final java.util.HashMap runningTrans
Store all the running transactions using transaction id as the key and TransactionRecord as the value.
See Also:
TransactionRecord
Method Detail

getRunningTransaction

public java.util.HashMap getRunningTransaction()
Obtains all the running transactions in the Transaction Manager now.
Returns:
the HashMap using transaction id as the key and TransactionRecord as the value.
See Also:
TransactionRecord