Class TransactionStatusConnector
java.lang.Object
com.arjuna.ats.internal.arjuna.recovery.TransactionStatusConnector
-
Constructor Summary
ConstructorDescriptionTransactionStatusConnector
(String pid, Uid pidUid) Recreate TransactionStatusManagerItem and attempt to establish a connection to the host/port of the TransactionStatusManager. -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
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
isDead()
Has the TransactionStatusManagers' process died.boolean
Check that a connection can be made to the Transaction Status Manager's process.
-
Constructor Details
-
TransactionStatusConnector
Recreate TransactionStatusManagerItem and attempt to establish a connection to the host/port of the TransactionStatusManager.
-
-
Method Details
-
test
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
Retrieve the transaction status for the specified transaction, attempts to re-establish connection if necessary.
-