@BetaApi public final class SettableApiFuture<V> extends AbstractApiFuture<V>
ApiFuture
whose result can be set. Similar to Guava's SettableFuture
, but
redeclared so that Guava could be shaded.Modifier and Type | Method and Description |
---|---|
static <V> SettableApiFuture<V> |
create() |
addListener, cancel, get, get, interruptTask, isCancelled, isDone, set, setException
public static <V> SettableApiFuture<V> create()