public interface TransactionImporter
Modifier and Type | Method and Description |
---|---|
SubordinateTransaction |
getImportedTransaction(Xid xid)
Get the subordinate (imported) transaction associated with the global
transaction.
|
SubordinateTransaction |
importTransaction(Xid xid)
Create a subordinate transaction associated with the global transaction
inflow.
|
SubordinateTransaction |
importTransaction(Xid xid,
int timeout)
Create a subordinate transaction associated with the global transaction
inflow and having a specified timeout.
|
SubordinateTransaction |
recoverTransaction(Uid actId)
Used to recover an imported transaction.
|
void |
removeImportedTransaction(Xid xid)
Remove the subordinate (imported) transaction.
|
SubordinateTransaction importTransaction(Xid xid) throws XAException
xid
- the global transaction.XAException
- thrown if there are any errors.SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException
xid
- the global transaction.timeout
- the timeout associated with the global transaction.XAException
- thrown if there are any errors.SubordinateTransaction recoverTransaction(Uid actId) throws XAException
actId
- the state to recover.XAException
SubordinateTransaction getImportedTransaction(Xid xid) throws XAException
xid
- the global transaction.null
if there is
none.XAException
- thrown if there are any errors.void removeImportedTransaction(Xid xid) throws XAException
xid
- the global transaction.XAException
- thrown if there are any errors.Copyright © 2021 JBoss by Red Hat. All rights reserved.