Example usage for Java com.google.common.util.concurrent SettableFuture fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addListener(Runnable runnable, Executor executor) |
boolean | cancel(boolean mayInterruptIfRunning) |
SettableFuture | create() Creates a new SettableFuture that can be completed or cancelled by a later method call. |
V | get() |
V | get(long timeout, TimeUnit unit) |
boolean | isCancelled() |
boolean | isDone() |
void | notifyAll() Wakes up all threads that are waiting on this object's monitor. |
boolean | set(@Nullable V value) |
boolean | setException(Throwable throwable) |
boolean | setFuture(ListenableFuture extends V> future) |