public class FutureResult<T> extends Object implements Future<T>
| Constructor and Description |
|---|
FutureResult(org.granite.client.messaging.channel.ResponseMessageFuture responseMessageFuture,
ComponentListener<T> componentListener) |
public FutureResult(org.granite.client.messaging.channel.ResponseMessageFuture responseMessageFuture, ComponentListener<T> componentListener)
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>InterruptedExceptionExecutionExceptionTimeoutException