public interface GridClientFuture<R>
| Modifier and Type | Method and Description |
|---|---|
R |
get()
Synchronously waits for completion and returns result.
|
R |
get(long timeout,
TimeUnit unit)
Synchronously waits for completion and returns result.
|
boolean |
isDone()
Checks if future is done.
|
void |
listen(GridClientFutureListener<R>... lsnrs)
Register new listeners for notification when future completes.
|
R get() throws GridClientException
GridClientException - In case of error.R get(long timeout, TimeUnit unit) throws GridClientException
timeout - Timeout interval to wait future completes.unit - Timeout interval unit to wait future completes.GridClientException - In case of error.GridClientFutureTimeoutException - If timed out before future finishes.boolean isDone()
void listen(GridClientFutureListener<R>... lsnrs)
lsnrs - Listeners to be registered.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015