| Constructor and Description |
|---|
MappedFuture(Future<From> future,
Mapping<From,To> map) |
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<To>public To get() throws InterruptedException, ExecutionException
get in interface Future<To>InterruptedExceptionExecutionExceptionpublic To get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<To>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2015. All rights reserved.