public class SimpleSettableFuture<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleSettableFuture.TimeoutException |
| Constructor and Description |
|---|
SimpleSettableFuture() |
public void set(T result)
get(long), they will immediately receive the
value. Must only be called once.@Nullable public T get(long timeoutMS)