Package org.infinispan.commons.tx
Interface AsyncXaResource
-
public interface AsyncXaResourceNon-blockingXAResource.- Since:
- 14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Void>asyncCommit(XidImpl xid, boolean onePhase)CompletionStage<Void>asyncEnd(XidImpl xid, int flags)CompletionStage<Integer>asyncPrepare(XidImpl xid)CompletionStage<Void>asyncRollback(XidImpl xid)
-
-
-
Method Detail
-
asyncEnd
CompletionStage<Void> asyncEnd(XidImpl xid, int flags)
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.end(Xid, int). - See Also:
XAResource.end(Xid, int)
-
asyncPrepare
CompletionStage<Integer> asyncPrepare(XidImpl xid)
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.prepare(Xid). - See Also:
XAResource.prepare(Xid)
-
asyncCommit
CompletionStage<Void> asyncCommit(XidImpl xid, boolean onePhase)
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.commit(Xid, boolean) - See Also:
XAResource.commit(Xid, boolean)
-
asyncRollback
CompletionStage<Void> asyncRollback(XidImpl xid)
- Returns:
- A
CompletionStagewhich is completed with the result ofXAResource.rollback(Xid) - See Also:
XAResource.rollback(Xid)
-
-