Class TransactionStatusConnector

java.lang.Object
com.arjuna.ats.internal.arjuna.recovery.TransactionStatusConnector

public class TransactionStatusConnector extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Recreate TransactionStatusManagerItem and attempt to establish a connection to the host/port of the TransactionStatusManager.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    If the TransactonStatusManagers' process is deemed dead, then its TransactonStatusManagerItem is removed from the object store.
    int
    getTransactionStatus(String transaction_type, Uid tranUid)
    Retrieve the transaction status for the specified transaction, attempts to re-establish connection if necessary.
    boolean
    Has the TransactionStatusManagers' process died.
    boolean
    Check that a connection can be made to the Transaction Status Manager's process.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TransactionStatusConnector

      public TransactionStatusConnector(String pid, Uid pidUid)
      Recreate TransactionStatusManagerItem and attempt to establish a connection to the host/port of the TransactionStatusManager.
  • Method Details

    • test

      public boolean test(TransactionStatusManagerItem tsmi)
      Check that a connection can be made to the Transaction Status Manager's process.
    • delete

      public void delete()
      If the TransactonStatusManagers' process is deemed dead, then its TransactonStatusManagerItem is removed from the object store.
    • isDead

      public boolean isDead()
      Has the TransactionStatusManagers' process died.
    • getTransactionStatus

      public int getTransactionStatus(String transaction_type, Uid tranUid)
      Retrieve the transaction status for the specified transaction, attempts to re-establish connection if necessary.