org.openspaces.core.transaction.internal
Interface TransactionalAsyncFutureListener<T>
- All Superinterfaces:
- com.gigaspaces.async.AsyncFutureListener<T>
public interface TransactionalAsyncFutureListener<T>
- extends com.gigaspaces.async.AsyncFutureListener<T>
Extends the future listener, resulting in calling the onTransactionalResult(com.gigaspaces.async.AsyncResult, org.springframework.transaction.TransactionStatus)
after the AsyncFutureListener.onResult(com.gigaspaces.async.AsyncResult)
. If running within a transaction, will
execute it with null within the transaction status.
- Author:
- kimchy
Methods inherited from interface com.gigaspaces.async.AsyncFutureListener |
onResult |
onTransactionalResult
void onTransactionalResult(com.gigaspaces.async.AsyncResult<T> asyncResult,
TransactionStatus txStatus)
onPostCommitTransaction
void onPostCommitTransaction(com.gigaspaces.async.AsyncResult<T> asyncResult)
onPostRollbackTransaction
void onPostRollbackTransaction(com.gigaspaces.async.AsyncResult<T> asyncResult)
Copyright © GigaSpaces.