CompletableFuture<Void> |
CompletableFuture.acceptEither(CompletionStage<? extends T> other,
Consumer<? super T> action) |
|
CompletionStage<Void> |
CompletionStage.acceptEither(CompletionStage<? extends T> other,
Consumer<? super T> action) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, is executed with the
corresponding result as argument to the supplied action.
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action,
Executor executor) |
|
CompletionStage<Void> |
CompletionStage.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, is executed using this
stage's default asynchronous execution facility, with the
corresponding result as argument to the supplied action.
|
CompletionStage<Void> |
CompletionStage.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action,
Executor executor) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, is executed using the
supplied executor, with the corresponding result as argument to
the supplied action.
|
static CompletableFuture<Void> |
CompletableFuture.allOf(CompletableFuture<?>... cfs) |
Returns a new CompletableFuture that is completed when all of
the given CompletableFutures complete.
|
CompletableFuture<Void> |
SubmissionPublisher.consume(Consumer<? super T> consumer) |
Processes all published items using the given Consumer function.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBoth(CompletionStage<?> other,
Runnable action) |
|
CompletionStage<Void> |
CompletionStage.runAfterBoth(CompletionStage<?> other,
Runnable action) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
|
CompletionStage<Void> |
CompletionStage.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, executes the given action
using this stage's default asynchronous execution facility.
|
CompletionStage<Void> |
CompletionStage.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, executes the given action
using the supplied executor.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEither(CompletionStage<?> other,
Runnable action) |
|
CompletionStage<Void> |
CompletionStage.runAfterEither(CompletionStage<?> other,
Runnable action) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
|
CompletionStage<Void> |
CompletionStage.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using this stage's default asynchronous execution facility.
|
CompletionStage<Void> |
CompletionStage.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using the supplied executor.
|
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable) |
Returns a new CompletableFuture that is asynchronously completed
by a task running in the ForkJoinPool.commonPool() after
it runs the given action.
|
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable,
Executor executor) |
Returns a new CompletableFuture that is asynchronously completed
by a task running in the given executor after it runs the given
action.
|
CompletableFuture<Void> |
CompletableFuture.thenAccept(Consumer<? super T> action) |
|
CompletionStage<Void> |
CompletionStage.thenAccept(Consumer<? super T> action) |
Returns a new CompletionStage that, when this stage completes
normally, is executed with this stage's result as the argument
to the supplied action.
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> action) |
|
CompletableFuture<Void> |
CompletableFuture.thenAcceptAsync(Consumer<? super T> action,
Executor executor) |
|
CompletionStage<Void> |
CompletionStage.thenAcceptAsync(Consumer<? super T> action) |
Returns a new CompletionStage that, when this stage completes
normally, is executed using this stage's default asynchronous
execution facility, with this stage's result as the argument to
the supplied action.
|
CompletionStage<Void> |
CompletionStage.thenAcceptAsync(Consumer<? super T> action,
Executor executor) |
Returns a new CompletionStage that, when this stage completes
normally, is executed using the supplied Executor, with this
stage's result as the argument to the supplied action.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBoth(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
|
<U> CompletionStage<Void> |
CompletionStage.thenAcceptBoth(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed with the two
results as arguments to the supplied action.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action,
Executor executor) |
|
<U> CompletionStage<Void> |
CompletionStage.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed using this
stage's default asynchronous execution facility, with the two
results as arguments to the supplied action.
|
<U> CompletionStage<Void> |
CompletionStage.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action,
Executor executor) |
Returns a new CompletionStage that, when this and the other
given stage both complete normally, is executed using the
supplied executor, with the two results as arguments to the
supplied action.
|
CompletableFuture<Void> |
CompletableFuture.thenRun(Runnable action) |
|
CompletionStage<Void> |
CompletionStage.thenRun(Runnable action) |
Returns a new CompletionStage that, when this stage completes
normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action) |
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action,
Executor executor) |
|
CompletionStage<Void> |
CompletionStage.thenRunAsync(Runnable action) |
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using this stage's default
asynchronous execution facility.
|
CompletionStage<Void> |
CompletionStage.thenRunAsync(Runnable action,
Executor executor) |
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using the supplied Executor.
|