public class TransactionImporterImple extends Object implements TransactionImporter
| Constructor and Description |
|---|
TransactionImporterImple() |
| Modifier and Type | Method and Description |
|---|---|
SubordinateTransaction |
getImportedTransaction(Xid xid)
Get the subordinate (imported) transaction associated with the global
transaction.
|
Set<Xid> |
getInflightXids(String parentNodeName) |
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.
|
TransactionImple |
recoverTransaction(Uid actId)
Used to recover an imported transaction.
|
void |
removeImportedTransaction(Xid xid)
Remove the subordinate (imported) transaction.
|
public SubordinateTransaction importTransaction(Xid xid) throws XAException
importTransaction in interface TransactionImporterxid - the global transaction.XAException - thrown if there are any errors.public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException
importTransaction in interface TransactionImporterxid - the global transaction.timeout - the timeout associated with the global transaction.XAException - thrown if there are any errors.public TransactionImple recoverTransaction(Uid actId) throws XAException
recoverTransaction in interface TransactionImporteractId - the state to recover.XAExceptionpublic SubordinateTransaction getImportedTransaction(Xid xid) throws XAException
getImportedTransaction in interface TransactionImporterxid - the global transaction.null if there is
none.XAException - thrown if there are any errors.public void removeImportedTransaction(Xid xid) throws XAException
removeImportedTransaction in interface TransactionImporterxid - the global transaction.XAException - thrown if there are any errors.Copyright © 2016 JBoss by Red Hat. All rights reserved.