Interface RecoveryManager.InDoubtTxInfo
-
- All Known Implementing Classes:
InDoubtTxInfoImpl
- Enclosing interface:
- RecoveryManager
public static interface RecoveryManager.InDoubtTxInfo
An object describing in doubt transaction's state. Needed by the transaction recovery process, for displaying transactions to the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Long
getInternalId()
Each xid has a unique long object associated to it.java.util.Set<Address>
getOwners()
Returns the set of nodes where this transaction information is maintained.java.util.Set<java.lang.Integer>
getStatus()
The value represent transaction's state as described by thestatus
field.javax.transaction.xa.Xid
getXid()
Transaction's id.boolean
isLocal()
Returns true if the transaction information is also present on this node.
-
-
-
Method Detail
-
getXid
javax.transaction.xa.Xid getXid()
Transaction's id.
-
getInternalId
java.lang.Long getInternalId()
Each xid has a unique long object associated to it. It makes possible the invocation of recovery operations.
-
getStatus
java.util.Set<java.lang.Integer> getStatus()
The value represent transaction's state as described by thestatus
field. Multiple values are returned as it is possible for an in-doubt transaction to be at the same time e.g. prepared on one node and committed on the other.
-
getOwners
java.util.Set<Address> getOwners()
Returns the set of nodes where this transaction information is maintained.
-
isLocal
boolean isLocal()
Returns true if the transaction information is also present on this node.
-
-