public class LocalCacheImplAsyncOperationsFuture<T> extends AbstractFuture<T>
_lock, _resultCondition
Constructor and Description |
---|
LocalCacheImplAsyncOperationsFuture(LocalCache cache,
ReadTakeAsyncProxyActionInfo actionInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
protected T |
getResult() |
boolean |
isCancelled() |
boolean |
isDone() |
void |
setListener(AsyncFutureListener<T> listener) |
void |
setResult(Object result)
The result has no type since it can be an exception or the real result
|
get, get
public LocalCacheImplAsyncOperationsFuture(LocalCache cache, ReadTakeAsyncProxyActionInfo actionInfo) throws RemoteException
RemoteException
public void setListener(AsyncFutureListener<T> listener)
public boolean cancel(boolean mayInterruptIfRunning)
protected T getResult() throws ExecutionException
getResult
in class AbstractFuture<T>
ExecutionException
public boolean isCancelled()
public boolean isDone()
Copyright © GigaSpaces.