public class TransactionStatusConnector extends Object
Constructor and Description |
---|
TransactionStatusConnector(String pid,
Uid pidUid)
Recreate TransactionStatusManagerItem and attempt to establish
a connection to the host/port of the TransactionStatusManager.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
test(TransactionStatusManagerItem tsmi)
Check that a connection can be made to the Transaction Status
Manager's process.
|
public boolean test(TransactionStatusManagerItem tsmi)
public void delete()
public boolean isDead()
Copyright © 2021 JBoss by Red Hat. All rights reserved.