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>
InterruptedException
ExecutionException
public To get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<To>
InterruptedException
ExecutionException
TimeoutException
Copyright © 2015. All rights reserved.