Class CombinedFuture<V>
- java.lang.Object
-
- com.google.common.util.concurrent.internal.InternalFutureFailureAccess
-
- com.google.common.util.concurrent.AbstractFuture<V>
-
- com.google.common.util.concurrent.AbstractFuture.TrustedFuture<OutputT>
-
- com.google.common.util.concurrent.AggregateFuture<java.lang.Object,V>
-
- com.google.common.util.concurrent.CombinedFuture<V>
-
- All Implemented Interfaces:
AbstractFuture.Trusted<V>
,ListenableFuture<V>
,java.util.concurrent.Future<V>
@GwtCompatible final class CombinedFuture<V> extends AggregateFuture<java.lang.Object,V>
Aggregate future that computes its value by calling a callable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
CombinedFuture.AsyncCallableInterruptibleTask
private class
CombinedFuture.CallableInterruptibleTask
private class
CombinedFuture.CombinedFutureInterruptibleTask<T>
private class
CombinedFuture.CombinedFutureRunningState
-
Nested classes/interfaces inherited from class com.google.common.util.concurrent.AggregateFuture
AggregateFuture.RunningState
-
Nested classes/interfaces inherited from class com.google.common.util.concurrent.AbstractFuture
AbstractFuture.Trusted<V>, AbstractFuture.TrustedFuture<V>
-
-
Constructor Summary
Constructors Constructor Description CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, java.util.concurrent.Executor listenerExecutor, AsyncCallable<V> callable)
CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, java.util.concurrent.Executor listenerExecutor, java.util.concurrent.Callable<V> callable)
-
Method Summary
-
Methods inherited from class com.google.common.util.concurrent.AggregateFuture
afterDone, init, pendingToString, releaseResources
-
Methods inherited from class com.google.common.util.concurrent.AbstractFuture.TrustedFuture
addListener, cancel, get, get, isCancelled, isDone
-
Methods inherited from class com.google.common.util.concurrent.AbstractFuture
interruptTask, maybePropagateCancellationTo, set, setException, setFuture, toString, tryInternalFastPathGetFailure, wasInterrupted
-
-
-
-
Constructor Detail
-
CombinedFuture
CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, java.util.concurrent.Executor listenerExecutor, AsyncCallable<V> callable)
-
CombinedFuture
CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, java.util.concurrent.Executor listenerExecutor, java.util.concurrent.Callable<V> callable)
-
-