public abstract static class Futures.BusyWaitFuture<V> extends Object implements Future<V>
| Modifier | Constructor and Description |
|---|---|
protected |
Futures.BusyWaitFuture() |
protected |
Futures.BusyWaitFuture(int spinMillis,
V _defaultResult) |
protected |
Futures.BusyWaitFuture(V _defaultResult) |
protected Futures.BusyWaitFuture()
protected Futures.BusyWaitFuture(V _defaultResult)
protected Futures.BusyWaitFuture(int spinMillis, V _defaultResult)
public boolean cancel(boolean mayInterruptIfRunning)
public boolean isCancelled()
isCancelled in interface Future<V>public V get() throws InterruptedException, ExecutionException
get in interface Future<V>InterruptedExceptionExecutionExceptionpublic V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<V>InterruptedExceptionExecutionExceptionTimeoutExceptioncache2k API documentation. Copyright © 2000–2015 headissue GmbH, Munich.