Class CollectionFuture<V,C>
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractFuture<V>
-
- com.google.common.util.concurrent.AbstractFuture.TrustedFuture<OutputT>
-
- com.google.common.util.concurrent.AggregateFuture<V,C>
-
- com.google.common.util.concurrent.CollectionFuture<V,C>
-
- All Implemented Interfaces:
ListenableFuture<C>
,java.util.concurrent.Future<C>
- Direct Known Subclasses:
CollectionFuture.ListFuture
@GwtCompatible(emulated=true) abstract class CollectionFuture<V,C> extends AggregateFuture<V,C>
Aggregate future that collects (stores) results of each future.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
CollectionFuture.CollectionFutureRunningState
(package private) static class
CollectionFuture.ListFuture<V>
-
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.TrustedFuture<V>
-
-
Constructor Summary
Constructors Constructor Description CollectionFuture()
-
Method Summary
-
Methods inherited from class com.google.common.util.concurrent.AggregateFuture
afterDone, init
-
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, maybePropagateCancellation, set, setException, setFuture, trustedGetException, wasInterrupted
-
-