public class InternalAsyncFutureListener<T> extends Object implements AsyncFutureListener<T>
Constructor and Description |
---|
InternalAsyncFutureListener(GigaSpace gigaSpace,
AsyncFutureListener<T> listener) |
InternalAsyncFutureListener(GigaSpace gigaSpace,
AsyncFutureListener<T> listener,
org.springframework.transaction.TransactionStatus txStatus,
org.springframework.transaction.PlatformTransactionManager transactionManager,
JiniTransactionHolder holder) |
Modifier and Type | Method and Description |
---|---|
void |
onResult(AsyncResult<T> asyncResult)
A callback when a result of an async invocation arrives.
|
static <T> AsyncFutureListener<T> |
wrapIfNeeded(AsyncFutureListener<T> listener,
GigaSpace gigaSpace) |
public InternalAsyncFutureListener(GigaSpace gigaSpace, AsyncFutureListener<T> listener)
public InternalAsyncFutureListener(GigaSpace gigaSpace, AsyncFutureListener<T> listener, org.springframework.transaction.TransactionStatus txStatus, org.springframework.transaction.PlatformTransactionManager transactionManager, JiniTransactionHolder holder)
public static <T> AsyncFutureListener<T> wrapIfNeeded(AsyncFutureListener<T> listener, GigaSpace gigaSpace)
public void onResult(AsyncResult<T> asyncResult)
AsyncFutureListener
onResult
in interface AsyncFutureListener<T>
Copyright © GigaSpaces.