R - Operation result type@FunctionalInterface public interface AsyncTransactionalOperation<R>
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<R> |
execute(AsyncTransaction transaction)
Execute a transactional operation using given
AsyncTransaction and return a result. |
CompletionStage<R> execute(AsyncTransaction transaction)
AsyncTransaction and return a result.transaction - The transaction reference, which can be used to perform AsyncTransaction.commit() and
AsyncTransaction.rollback() operationsCompletionStage which can be used to handle the asynchronous operation outcome and the
operation resultCopyright © 2019 The Holon Platform. All rights reserved.