public class InternalAsyncFuture<T> extends Object implements AsyncFuture<T>
| Constructor and Description | 
|---|
InternalAsyncFuture(AsyncFuture<T> future,
                   GigaSpace gigaSpace)  | 
InternalAsyncFuture(AsyncFuture<T> future,
                   GigaSpace gigaSpace,
                   Transaction tx)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
cancel(boolean mayInterruptIfRunning)  | 
T | 
get()  | 
T | 
get(long timeout,
   TimeUnit unit)  | 
boolean | 
isCancelled()  | 
boolean | 
isDone()  | 
void | 
setListener(AsyncFutureListener<T> listener)  | 
public InternalAsyncFuture(AsyncFuture<T> future, GigaSpace gigaSpace)
public InternalAsyncFuture(AsyncFuture<T> future, GigaSpace gigaSpace, Transaction tx)
public void setListener(AsyncFutureListener<T> listener)
setListener in interface AsyncFuture<T>public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<T>public T get() throws InterruptedException, ExecutionException
get in interface Future<T>InterruptedExceptionExecutionExceptionpublic T get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<T>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © GigaSpaces.