| Constructor and Description |
|---|
EntityFuture(Mapper<T,?> mapper,
Future<?> future) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(boolean b) |
T |
get() |
T |
get(long l,
TimeUnit timeUnit) |
boolean |
isCancelled() |
boolean |
isDone() |
public boolean isCancelled()
isCancelled in interface Future<T>public T get() throws InterruptedException, ExecutionException
get in interface Future<T>InterruptedExceptionExecutionExceptionpublic T get(long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<T>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2014 Wadpam. All Rights Reserved.