GigaSpaces - Open Spaces

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

Method Summary
 void onPostCommitTransaction(com.gigaspaces.async.AsyncResult<T> asyncResult)
           
 void onPostRollbackTransaction(com.gigaspaces.async.AsyncResult<T> asyncResult)
           
 void onTransactionalResult(com.gigaspaces.async.AsyncResult<T> asyncResult, TransactionStatus txStatus)
           
 
Methods inherited from interface com.gigaspaces.async.AsyncFutureListener
onResult
 

Method Detail

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)

GigaSpaces - Open Spaces

Copyright © GigaSpaces.