- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class java8.util.concurrent.CompletableFuture
-
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage with the same result or exception
as this stage, and when this stage completes, executes the
given action with the result (or null if none) and the
exception (or null if none) of this stage.
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class java8.util.concurrent.CompletableFuture
-
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class java8.util.concurrent.CompletableFuture
-
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage with the same result or exception
as this stage, and when this stage completes, executes the
given action executes the given action using this stage's
default asynchronous execution facility, with the result (or
null if none) and the exception (or null if
none) of this stage as arguments.
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in interface java8.util.concurrent.CompletionStage
-
Returns a new CompletionStage with the same result or exception
as this stage, and when this stage completes, executes using
the supplied Executor, the given action with the result (or
null if none) and the exception (or null if
none) of this stage as arguments.