Package com.arjuna.ats.arjuna.recovery
Class TransactionStatusConnectionManager
java.lang.Object
com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getTransactionStatus
(Uid tranUid) Obtain the transaction status for the specified transaction.int
getTransactionStatus
(String transactionType, Uid tranUid) Obtain the transaction status for the specified transaction type and transaction.void
Examine the Object Store for any new TrasactionStatusManagerItem objects, and add to local hash table.
-
Constructor Details
-
TransactionStatusConnectionManager
public TransactionStatusConnectionManager()Gets a reference to the Object Store.
-
-
Method Details
-
getTransactionStatus
Obtain the transaction status for the specified transaction. At this point we don't know the type of the transaction, only it's Uid. So, we're going to have to search through the object store. This assumes that the transaction id is present in the local object store. If it isn't, or there is a possibility it may not be, then you should use the other variant of this method and determine the type through another method. -
getTransactionStatus
Obtain the transaction status for the specified transaction type and transaction. -
updateTSMI
public void updateTSMI()Examine the Object Store for any new TrasactionStatusManagerItem objects, and add to local hash table.
-