Package | Description |
---|---|
org.apache.flink.util.concurrent |
Modifier and Type | Method and Description |
---|---|
static <T> FutureUtils.ConjunctFuture<Collection<T>> |
FutureUtils.combineAll(Collection<? extends CompletableFuture<? extends T>> futures)
Creates a future that is complete once multiple other futures completed.
|
static FutureUtils.ConjunctFuture<Void> |
FutureUtils.completeAll(Collection<? extends CompletableFuture<?>> futuresToComplete)
Creates a
FutureUtils.ConjunctFuture which is only completed after all given futures have
completed. |
static FutureUtils.ConjunctFuture<Void> |
FutureUtils.waitForAll(Collection<? extends CompletableFuture<?>> futures)
Creates a future that is complete once all of the given futures have completed.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.