public class TransactionImple extends TransactionImple implements SubordinateTransaction
_theTransaction
XACONNECTION, XAMODIFIER
Constructor and Description |
---|
TransactionImple(int timeout)
Create a new transaction with the specified timeout.
|
TransactionImple(int timeout,
Xid importedXid) |
TransactionImple(Uid actId)
For crash recovery purposes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
activated() |
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()
|
void |
recordTransaction()
Only to be used by crash recovery.
|
void |
recover() |
String |
toString() |
commit, commitAndDisassociate, doBeforeCompletion, doCommit, doForget, doOnePhaseCommit, doPrepare, doRollback, rollback, rollbackAndDisassociate
delistResource, endSuspendedRMs, enlistResource, enlistResource, get_uid, getControlWrapper, getRemainingTimeoutMills, getResources, getStatus, getSynchronizations, getTimeout, getTransactions, getTxId, getTxLocalResource, getXAResourceState, hashCode, isAlive, putTransaction, putTxLocalResource, registerSynchronization, removeTransaction, setRollbackOnly, shutdown
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 to recover.public final void recordTransaction()
public boolean equals(Object obj)
equals
in class TransactionImple
public String toString()
toString
in class TransactionImple
public Xid baseXid()
baseXid
in interface SubordinateTransaction
baseXid
in class TransactionImple
public void recover()
recover
in interface SubordinateTransaction
public boolean activated()
activated
in interface SubordinateTransaction
Copyright © 2021 JBoss by Red Hat. All rights reserved.