| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cancelled |
protected static Object |
NULL |
protected Call |
remoteCall |
protected Object |
result |
| Constructor and Description |
|---|
AsyncClientCall(Call remoteCall) |
protected static final Object NULL
protected Object result
protected final Call remoteCall
protected boolean cancelled
public AsyncClientCall(Call remoteCall)
public void setResult(Object obj)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>public V get() throws InterruptedException, ExecutionException
get in interface Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.