| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | CollectionFuture.
Used for |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List |
| Access | Constructor and Description |
|---|---|
| pack-priv | CollectionFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | collectOneValue(int index, V returnValue)
Implements abstract com. allMustSucceed is true, called as each future completes; otherwise, if collectsValues is true, called for each future when all futures complete.
|
| pack-priv abstract C | |
| pack-priv final void | handleAllCompleted()
Implements abstract com. |
| pack-priv void | releaseResources(AggregateFuture.
Overrides com. handleAllCompleted() has been called).
|
| values | back to summary |
|---|---|
| private List<@Nullable CollectionFuture. | |
| CollectionFuture | back to summary |
|---|---|
| pack-priv CollectionFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) | |
| collectOneValue | back to summary |
|---|---|
| pack-priv final void collectOneValue(int index, V returnValue) Implements abstract com. Doc from com. If
| |
| combine | back to summary |
|---|---|
| pack-priv abstract C combine(List<@Nullable CollectionFuture. | |
| handleAllCompleted | back to summary |
|---|---|
| pack-priv final void handleAllCompleted() Implements abstract com.
| |
| releaseResources | back to summary |
|---|---|
| pack-priv void releaseResources(AggregateFuture. Overrides com. Doc from com. Clears fields that are no longer needed after this future has completed -- or at least all its
inputs have completed (more precisely, after This is similar to our proposed
| |
Futures#allAsList and Futures#successfulAsList.
| Access | Constructor and Description |
|---|---|
| pack-priv | ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed)
|
| Modifier and Type | Method and Description |
|---|---|
| public List | combine(List<@Nullable CollectionFuture.
Implements abstract com. |
| ListFuture | back to summary |
|---|---|
| pack-priv ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) | |
| combine | back to summary |
|---|---|
| public List Implements abstract com.
| |
Future.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final V |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| value | back to summary |
|---|---|
| pack-priv final V value
| |
| Present | back to summary |
|---|---|
| pack-priv Present(V value) | |