Package org.infinispan.commons.tx
Interface AsyncXaResource
- All Known Implementing Classes:
TransactionXaAdapter
public interface AsyncXaResource
Non-blocking
XAResource.- Since:
- 14.0
-
Method Summary
Modifier and TypeMethodDescriptionasyncCommit(XidImpl xid, boolean onePhase) asyncPrepare(XidImpl xid) asyncRollback(XidImpl xid)
-
Method Details
-
asyncEnd
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.end(Xid, int). - See Also:
-
asyncPrepare
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.prepare(Xid). - See Also:
-
asyncCommit
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.commit(Xid, boolean) - See Also:
-
asyncRollback
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.rollback(Xid) - See Also:
-