CompletionStage that defaults to an ExecutorProvider for
all async methods that do not have an explicit Executor.
In jOOQ, the ExecutorProvider SPI is used for all types of
asynchronous tasks. It overrides standard CompletableFuture behaviour
in case users prefer not to use the ForkJoinPool#commonPool().
| Modifier and Type | Field and Description |
|---|---|
| private final CompletionStage | |
| private final ExecutorProvider |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final CompletionStage | acceptEither(CompletionStage<? extends T>
the other CompletionStage other, Consumer<? super T> the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | acceptEitherAsync(CompletionStage<? extends T>
the other CompletionStage other, Consumer<? super T> the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | acceptEitherAsync(CompletionStage<? extends T>
the other CompletionStage other, Consumer<? super T> the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final <U> CompletionStage | applyToEither(CompletionStage<? extends T>
the other CompletionStage other, Function<? super T, U> the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | applyToEitherAsync(CompletionStage<? extends T>
the other CompletionStage other, Function<? super T, U> the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | applyToEitherAsync(CompletionStage<? extends T>
the other CompletionStage other, Function<? super T, U> the function to use to compute the value of the
returned CompletionStage fn, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final CompletionStage | exceptionally(Function<Throwable, ? extends T>
the function to use to compute the value of the
returned CompletionStage if this CompletionStage completed
exceptionally fn)Implements java. |
| public final <U> CompletionStage | handle(BiFunction<? super T, Throwable, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | handleAsync(BiFunction<? super T, Throwable, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | handleAsync(BiFunction<? super T, Throwable, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn, Executor the executor to use for asynchronous execution executor)Implements java. |
| pack-priv static final <T> ExecutorProviderCompletionStage | |
| public final CompletionStage | runAfterBoth(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | runAfterBothAsync(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | runAfterBothAsync(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final CompletionStage | runAfterEither(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | runAfterEitherAsync(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | runAfterEitherAsync(CompletionStage<?>
the other CompletionStage other, Runnable the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final CompletionStage | thenAccept(Consumer<? super T>
the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | thenAcceptAsync(Consumer<? super T>
the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | thenAcceptAsync(Consumer<? super T>
the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final <U> CompletionStage | thenAcceptBoth(CompletionStage<? extends U>
the other CompletionStage other, BiConsumer<? super T, ? super U> the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final <U> CompletionStage | thenAcceptBothAsync(CompletionStage<? extends U>
the other CompletionStage other, BiConsumer<? super T, ? super U> the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final <U> CompletionStage | thenAcceptBothAsync(CompletionStage<? extends U>
the other CompletionStage other, BiConsumer<? super T, ? super U> the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final <U> CompletionStage | thenApply(Function<? super T, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | thenApplyAsync(Function<? super T, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U> CompletionStage | thenApplyAsync(Function<? super T, ? extends U>
the function to use to compute the value of the
returned CompletionStage fn, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final <U, V> CompletionStage | thenCombine(CompletionStage<? extends U>
the other CompletionStage other, BiFunction<? super T, ? super U, ? extends V> the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U, V> CompletionStage | thenCombineAsync(CompletionStage<? extends U>
the other CompletionStage other, BiFunction<? super T, ? super U, ? extends V> the function to use to compute the value of the
returned CompletionStage fn)Implements java. |
| public final <U, V> CompletionStage | thenCombineAsync(CompletionStage<? extends U>
the other CompletionStage other, BiFunction<? super T, ? super U, ? extends V> the function to use to compute the value of the
returned CompletionStage fn, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final <U> CompletionStage | thenCompose(Function<? super T, ? extends CompletionStage<U>>
the function to use to compute another CompletionStage fn)Implements java. |
| public final <U> CompletionStage | thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>
the function to use to compute another CompletionStage fn)Implements java. |
| public final <U> CompletionStage | thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>
the function to use to compute another CompletionStage fn, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final CompletionStage | thenRun(Runnable
the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | thenRunAsync(Runnable
the action to perform before completing the
returned CompletionStage action)Implements java. |
| public final CompletionStage | thenRunAsync(Runnable
the action to perform before completing the
returned CompletionStage action, Executor the executor to use for asynchronous execution executor)Implements java. |
| public final CompletableFuture | toCompletableFuture()
Implements java. CompletableFuture maintaining the same
completion properties as this stage.
|
| public final CompletionStage | whenComplete(BiConsumer<? super T, ? super Throwable>
the action to perform action)Implements java. |
| public final CompletionStage | whenCompleteAsync(BiConsumer<? super T, ? super Throwable>
the action to perform action)Implements java. |
| public final CompletionStage | whenCompleteAsync(BiConsumer<? super T, ? super Throwable>
the action to perform action, Executor the executor to use for asynchronous execution executor)Implements java. |