Package org.apache.qpid.server.model
Class AbstractConfiguredObject.ChainedSettableFuture<V>
- java.lang.Object
-
- com.google.common.util.concurrent.internal.InternalFutureFailureAccess
-
- com.google.common.util.concurrent.AbstractFuture<V>
-
- org.apache.qpid.server.model.AbstractConfiguredObject.ChainedSettableFuture<V>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<V>
,Future<V>
,AbstractConfiguredObject.ChainedListenableFuture<V>
- Enclosing class:
- AbstractConfiguredObject<X extends ConfiguredObject<X>>
public static class AbstractConfiguredObject.ChainedSettableFuture<V> extends com.google.common.util.concurrent.AbstractFuture<V> implements AbstractConfiguredObject.ChainedListenableFuture<V>
-
-
Constructor Summary
Constructors Constructor Description ChainedSettableFuture(Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
set(V value)
boolean
setException(Throwable throwable)
AbstractConfiguredObject.ChainedListenableFuture<Void>
then(Runnable r)
AbstractConfiguredObject.ChainedListenableFuture<V>
then(Callable<com.google.common.util.concurrent.ListenableFuture<V>> r)
<A> AbstractConfiguredObject.ChainedListenableFuture<A>
then(AbstractConfiguredObject.CallableWithArgument<com.google.common.util.concurrent.ListenableFuture<A>,V> r)
-
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
addListener, afterDone, cancel, get, get, interruptTask, isCancelled, isDone, pendingToString, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
-
-
-
-
Constructor Detail
-
ChainedSettableFuture
public ChainedSettableFuture(Executor executor)
-
-
Method Detail
-
set
public boolean set(V value)
- Overrides:
set
in classcom.google.common.util.concurrent.AbstractFuture<V>
-
setException
public boolean setException(Throwable throwable)
- Overrides:
setException
in classcom.google.common.util.concurrent.AbstractFuture<V>
-
then
public AbstractConfiguredObject.ChainedListenableFuture<Void> then(Runnable r)
- Specified by:
then
in interfaceAbstractConfiguredObject.ChainedListenableFuture<V>
-
then
public AbstractConfiguredObject.ChainedListenableFuture<V> then(Callable<com.google.common.util.concurrent.ListenableFuture<V>> r)
- Specified by:
then
in interfaceAbstractConfiguredObject.ChainedListenableFuture<V>
-
then
public <A> AbstractConfiguredObject.ChainedListenableFuture<A> then(AbstractConfiguredObject.CallableWithArgument<com.google.common.util.concurrent.ListenableFuture<A>,V> r)
- Specified by:
then
in interfaceAbstractConfiguredObject.ChainedListenableFuture<V>
-
-