public static class Futures.ExceptionFuture<V> extends Object implements Future<V>
| Constructor and Description |
|---|
Futures.ExceptionFuture(Throwable exception) |
public Futures.ExceptionFuture(Throwable exception)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>public V get() throws ExecutionException
get in interface Future<V>ExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws ExecutionException
get in interface Future<V>ExecutionExceptioncache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.