GigaSpaces - Open Spaces

org.openspaces.core.transaction.internal
Class InternalAsyncFutureListener<T>

java.lang.Object
  extended by org.openspaces.core.transaction.internal.InternalAsyncFutureListener<T>
All Implemented Interfaces:
com.gigaspaces.async.AsyncFutureListener<T>

public class InternalAsyncFutureListener<T>
extends Object
implements com.gigaspaces.async.AsyncFutureListener<T>

Author:
kimchy

Constructor Summary
InternalAsyncFutureListener(GigaSpace gigaSpace, com.gigaspaces.async.AsyncFutureListener<T> listener)
           
InternalAsyncFutureListener(GigaSpace gigaSpace, com.gigaspaces.async.AsyncFutureListener<T> listener, TransactionStatus txStatus, PlatformTransactionManager transactionManager, JiniTransactionHolder holder)
           
 
Method Summary
 void onResult(com.gigaspaces.async.AsyncResult<T> asyncResult)
           
static
<T> com.gigaspaces.async.AsyncFutureListener<T>
wrapIfNeeded(com.gigaspaces.async.AsyncFutureListener<T> listener, GigaSpace gigaSpace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalAsyncFutureListener

public InternalAsyncFutureListener(GigaSpace gigaSpace,
                                   com.gigaspaces.async.AsyncFutureListener<T> listener)

InternalAsyncFutureListener

public InternalAsyncFutureListener(GigaSpace gigaSpace,
                                   com.gigaspaces.async.AsyncFutureListener<T> listener,
                                   TransactionStatus txStatus,
                                   PlatformTransactionManager transactionManager,
                                   JiniTransactionHolder holder)
Method Detail

wrapIfNeeded

public static <T> com.gigaspaces.async.AsyncFutureListener<T> wrapIfNeeded(com.gigaspaces.async.AsyncFutureListener<T> listener,
                                                                           GigaSpace gigaSpace)

onResult

public void onResult(com.gigaspaces.async.AsyncResult<T> asyncResult)
Specified by:
onResult in interface com.gigaspaces.async.AsyncFutureListener<T>

GigaSpaces - Open Spaces

Copyright © GigaSpaces.