Package org.wildfly.transaction.client
Interface XARecoverable
-
- All Known Subinterfaces:
XAImporter
public interface XARecoverableAn interface which specifies the common recovery portion of theXAResourceandXATerminatorAPIs.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcommit(Xid xid, boolean onePhase)voidforget(Xid xid)static XARecoverablefrom(javax.resource.spi.XATerminator xaTerminator)static XARecoverablefrom(XAResource xaResource)default Xid[]recover(int flag)Xid[]recover(int flag, String parentName)
-
-
-
Method Detail
-
recover
default Xid[] recover(int flag) throws XAException
- Throws:
XAException
-
recover
Xid[] recover(int flag, String parentName) throws XAException
- Throws:
XAException
-
commit
void commit(Xid xid, boolean onePhase) throws XAException
- Throws:
XAException
-
forget
void forget(Xid xid) throws XAException
- Throws:
XAException
-
from
static XARecoverable from(javax.resource.spi.XATerminator xaTerminator)
-
from
static XARecoverable from(XAResource xaResource)
-
-