Class CollectionFuture.ListFuture<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.AggregateFutureState<OutputT>
-
- com.google.common.util.concurrent.AggregateFuture<V,C>
-
- com.google.common.util.concurrent.CollectionFuture<V,java.util.List<V>>
-
- com.google.common.util.concurrent.CollectionFuture.ListFuture<V>
-
- All Implemented Interfaces:
AbstractFuture.Trusted<java.util.List<V>>
,ListenableFuture<java.util.List<V>>
,java.util.concurrent.Future<java.util.List<V>>
- Enclosing class:
- CollectionFuture<V,C>
static final class CollectionFuture.ListFuture<V> extends CollectionFuture<V,java.util.List<V>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.util.concurrent.CollectionFuture
CollectionFuture.ListFuture<V>
-
Nested classes/interfaces inherited from class com.google.common.util.concurrent.AggregateFuture
AggregateFuture.ReleaseResourcesReason
-
Nested classes/interfaces inherited from class com.google.common.util.concurrent.AbstractFuture
AbstractFuture.Trusted<V>, AbstractFuture.TrustedFuture<V>
-
-
Constructor Summary
Constructors Constructor Description ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<V>
combine(java.util.List<CollectionFuture.Present<V>> values)
-
Methods inherited from class com.google.common.util.concurrent.CollectionFuture
collectOneValue, handleAllCompleted, releaseResources
-
Methods inherited from class com.google.common.util.concurrent.AggregateFuture
addInitialException, afterDone, init, pendingToString
-
Methods inherited from class com.google.common.util.concurrent.AggregateFutureState
clearSeenExceptions, decrementRemainingAndGet, getOrInitSeenExceptions
-
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
-
ListFuture
ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed)
-
-
Method Detail
-
combine
public java.util.List<V> combine(java.util.List<CollectionFuture.Present<V>> values)
- Specified by:
combine
in classCollectionFuture<V,java.util.List<V>>
-
-