public class TransactionImple extends TransactionImple implements SubordinateTransaction
_theTransaction, _xaResourceRecordWrappingPlugin
XACONNECTION, XAMODIFIER
Constructor and Description |
---|
TransactionImple(int timeout)
Deprecated.
Only used by tests
|
TransactionImple(int timeout,
Xid importedXid) |
TransactionImple(Uid actId)
Used for failure recovery.
|
Modifier and Type | Method and Description |
---|---|
boolean |
activated()
Has the transaction been activated successfully? If not, we wait and try
again later.
|
Xid |
baseXid()
If this is an imported transaction (via JCA) then this will be the Xid we
are pretending to be.
|
boolean |
equals(Object obj)
Overloads Object.equals()
|
String |
getParentNodeName() |
void |
recordTransaction() |
void |
recover()
Force this transaction to try to recover itself again.
|
String |
toString() |
commit, commitAndDisassociate, createXid, doBeforeCompletion, doCommit, doForget, doOnePhaseCommit, doPrepare, doRollback, rollback, rollbackAndDisassociate
delistResource, endSuspendedRMs, enlistResource, enlistResource, get_uid, getRemainingTimeoutMills, getResources, getStatus, getSynchronizations, getTimeout, getTransaction, getTransaction, getTransactions, getTxId, getTxLocalResource, getXAResourceState, hashCode, isAlive, putTransaction, putTxLocalResource, registerSynchronization, removeTransaction, setRollbackOnly
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
doBeforeCompletion, doCommit, doForget, doOnePhaseCommit, doPrepare, doRollback, get_uid
commit, delistResource, enlistResource, getStatus, registerSynchronization, rollback, setRollbackOnly
public TransactionImple(int timeout)
public TransactionImple(int timeout, Xid importedXid)
public TransactionImple(Uid actId)
actId
- the transaction state to recover.public String getParentNodeName()
public final void recordTransaction()
public boolean equals(Object obj)
equals
in class TransactionImple
public String toString()
toString
in class TransactionImple
public final Xid baseXid()
baseXid
in interface SubordinateTransaction
baseXid
in class TransactionImple
public void recover()
recover
in interface SubordinateTransaction
public boolean activated()
activated
in interface SubordinateTransaction
activated
in class TransactionImple
true
if the transaction was activated, false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.