Class TransactionStatusConnectionManager

java.lang.Object
com.arjuna.ats.arjuna.recovery.TransactionStatusConnectionManager

public class TransactionStatusConnectionManager extends Object
  • Constructor Details

    • TransactionStatusConnectionManager

      public TransactionStatusConnectionManager()
      Gets a reference to the Object Store.
  • Method Details

    • getTransactionStatus

      public int getTransactionStatus(Uid tranUid)
      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

      public int getTransactionStatus(String transactionType, Uid tranUid)
      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.