ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.acceptEither(CompletionStage<? extends T> other,
Consumer<? super T> action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action,
Executor executor) |
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.allOf(CompletableFuture<?>... cfs) |
Returns a new CompletableFuture that is completed when all of
the given CompletableFutures complete.
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.allOf(ContextSnapshot snapshot,
CompletableFuture<?>... cfs) |
Returns a new CompletableFuture that is completed when all of
the given CompletableFutures complete.
|
static ContextAwareCompletableFuture<Object> |
ContextAwareCompletableFuture.anyOf(CompletableFuture<?>... cfs) |
Returns a new CompletableFuture that is completed when any of
the given CompletableFutures complete, with the same result.
|
static ContextAwareCompletableFuture<Object> |
ContextAwareCompletableFuture.anyOf(ContextSnapshot snapshot,
CompletableFuture<?>... cfs) |
Returns a new CompletableFuture that is completed when any of
the given CompletableFutures complete, with the same result.
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.applyToEither(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn,
Executor executor) |
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.completedFuture(U value) |
Creates a new ContextAwareCompletableFuture from the already-completed value.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.completedFuture(U value,
ContextSnapshot snapshot) |
Creates a new ContextAwareCompletableFuture from the already-completed value.
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.exceptionally(Function<Throwable,? extends T> fn) |
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.failedFuture(Throwable ex) |
Creates a new ContextAwareCompletableFuture that is already completed
exceptionally with the given exception.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.failedFuture(Throwable ex,
ContextSnapshot snapshot) |
Creates a new ContextAwareCompletableFuture that is already completed
exceptionally with the given exception.
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.handle(BiFunction<? super T,Throwable,? extends U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn,
Executor executor) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterBoth(CompletionStage<?> other,
Runnable action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterEither(CompletionStage<?> other,
Runnable action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAsync(Runnable runnable) |
Runs the runnable task in the common ForkJoinPool
within the current context and also applies that context to all successive
calls to the CompletableFuture.
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAsync(Runnable runnable,
Executor executor) |
Runs the runnable task in the specified executor
within the current context and also applies that context to all successive
calls to the CompletableFuture.
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAsync(Runnable runnable,
Executor executor,
ContextSnapshot snapshot) |
Runs the runnable task in the specified executor
within the specified context snapshot and also applies that context
to all successive calls to the CompletableFuture.
|
static ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.runAsync(Runnable runnable,
Executor executor,
ContextSnapshot snapshot,
boolean takeNewSnapshot) |
Runs the runnable task in the specified executor
within the specified context snapshot and also applies that context
to all successive calls to the CompletableFuture.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.supplyAsync(Supplier<U> supplier) |
Runs the supplier task in the common ForkJoinPool
within the current context and also applies that context to all successive
calls to the CompletableFuture.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.supplyAsync(Supplier<U> supplier,
Executor executor) |
Runs the supplier task in the specified executor
within the current context and also applies that context to all successive
calls to the CompletableFuture.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.supplyAsync(Supplier<U> supplier,
Executor executor,
ContextSnapshot snapshot) |
Runs the supplier task in the specified executor
within the specified context snapshot and also applies that context
to all successive calls to the CompletableFuture.
|
static <U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.supplyAsync(Supplier<U> supplier,
Executor executor,
ContextSnapshot snapshot,
boolean takeNewSnapshot) |
Runs the supplier task in the specified executor
within the specified context snapshot and also applies that context
to all successive calls to the CompletableFuture.
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.takeNewSnapshot() |
Returns a context-aware CompletableFuture that takes a new snapshot after each completion stage.
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.takeNewSnapshot(boolean takeSnapshot) |
Returns a context-aware CompletableFuture that may take a new snapshot after each completion stage.
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAccept(Consumer<? super T> action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAcceptAsync(Consumer<? super T> action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAcceptAsync(Consumer<? super T> action,
Executor executor) |
|
<U> ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAcceptBoth(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
|
<U> ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
|
<U> ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action,
Executor executor) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenApply(Function<? super T,? extends U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenApplyAsync(Function<? super T,? extends U> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenApplyAsync(Function<? super T,? extends U> fn,
Executor executor) |
|
<U,V> ContextAwareCompletableFuture<V> |
ContextAwareCompletableFuture.thenCombine(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
|
<U,V> ContextAwareCompletableFuture<V> |
ContextAwareCompletableFuture.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
|
<U,V> ContextAwareCompletableFuture<V> |
ContextAwareCompletableFuture.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn,
Executor executor) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenCompose(Function<? super T,? extends CompletionStage<U>> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn) |
|
<U> ContextAwareCompletableFuture<U> |
ContextAwareCompletableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn,
Executor executor) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenRun(Runnable action) |
|
ContextAwareCompletableFuture<Void> |
ContextAwareCompletableFuture.thenRunAsync(Runnable action,
Executor executor) |
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.whenComplete(BiConsumer<? super T,? super Throwable> action) |
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action) |
|
ContextAwareCompletableFuture<T> |
ContextAwareCompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action,
Executor executor) |
|