public static class AbstractConfiguredObject.ChainedSettableFuture<V> extends com.google.common.util.concurrent.AbstractFuture<V> implements AbstractConfiguredObject.ChainedListenableFuture<V>
Constructor and Description |
---|
ChainedSettableFuture(Executor executor) |
Modifier and Type | Method and Description |
---|---|
boolean |
set(V value) |
boolean |
setException(Throwable throwable) |
<A> AbstractConfiguredObject.ChainedListenableFuture<A> |
then(AbstractConfiguredObject.CallableWithArgument<com.google.common.util.concurrent.ListenableFuture<A>,V> r) |
AbstractConfiguredObject.ChainedListenableFuture<V> |
then(Callable<com.google.common.util.concurrent.ListenableFuture<V>> r) |
AbstractConfiguredObject.ChainedListenableFuture<Void> |
then(Runnable r) |
addListener, cancel, get, get, interruptTask, isCancelled, isDone, wasInterrupted
public ChainedSettableFuture(Executor executor)
public boolean set(V value)
set
in class com.google.common.util.concurrent.AbstractFuture<V>
public boolean setException(Throwable throwable)
setException
in class com.google.common.util.concurrent.AbstractFuture<V>
public AbstractConfiguredObject.ChainedListenableFuture<Void> then(Runnable r)
then
in interface AbstractConfiguredObject.ChainedListenableFuture<V>
public AbstractConfiguredObject.ChainedListenableFuture<V> then(Callable<com.google.common.util.concurrent.ListenableFuture<V>> r)
then
in interface AbstractConfiguredObject.ChainedListenableFuture<V>
public <A> AbstractConfiguredObject.ChainedListenableFuture<A> then(AbstractConfiguredObject.CallableWithArgument<com.google.common.util.concurrent.ListenableFuture<A>,V> r)
then
in interface AbstractConfiguredObject.ChainedListenableFuture<V>
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.