A B C E F G H N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in class nl.talsmasoftware.context.functions.ConsumerWithContext
- accept(T, U) - Method in class nl.talsmasoftware.context.functions.BiConsumerWithContext
- acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- allOf(CompletableFuture<?>...) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
- allOf(ContextSnapshot, CompletableFuture<?>...) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a new CompletableFuture that is completed when all of the given CompletableFutures complete.
- and(BiPredicate<? super IN1, ? super IN2>) - Method in class nl.talsmasoftware.context.functions.BiPredicateWithContext
- and(Predicate<? super T>) - Method in class nl.talsmasoftware.context.functions.PredicateWithContext
- andThen(BiConsumer<? super T, ? super U>) - Method in class nl.talsmasoftware.context.functions.BiConsumerWithContext
- andThen(Consumer<? super T>) - Method in class nl.talsmasoftware.context.functions.ConsumerWithContext
- andThen(Function<? super OUT, ? extends V>) - Method in class nl.talsmasoftware.context.functions.BiFunctionWithContext
- andThen(Function<? super OUT, ? extends V>) - Method in class nl.talsmasoftware.context.functions.FunctionWithContext
- anyOf(CompletableFuture<?>...) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result.
- anyOf(ContextSnapshot, CompletableFuture<?>...) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result.
- apply(IN) - Method in class nl.talsmasoftware.context.functions.FunctionWithContext
- apply(IN1, IN2) - Method in class nl.talsmasoftware.context.functions.BiFunctionWithContext
- applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
B
- BiConsumerWithContext<T,U> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
BiConsumerthatreactivates a context snapshotbefore calling a delegate. - BiConsumerWithContext(Supplier<ContextSnapshot>, BiConsumer<T, U>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiConsumerWithContext
- BiConsumerWithContext(ContextSnapshot, BiConsumer<T, U>) - Constructor for class nl.talsmasoftware.context.functions.BiConsumerWithContext
- BiConsumerWithContext(ContextSnapshot, BiConsumer<T, U>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiConsumerWithContext
- BiFunctionWithContext<IN1,IN2,OUT> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
BiFunctionthatreactivates a context snapshotbefore calling a delegate. - BiFunctionWithContext(Supplier<ContextSnapshot>, BiFunction<IN1, IN2, OUT>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiFunctionWithContext
- BiFunctionWithContext(ContextSnapshot, BiFunction<IN1, IN2, OUT>) - Constructor for class nl.talsmasoftware.context.functions.BiFunctionWithContext
- BiFunctionWithContext(ContextSnapshot, BiFunction<IN1, IN2, OUT>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiFunctionWithContext
- BinaryOperatorWithContext<T> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
BinaryOperatorthatreactivates a context snapshotbefore calling a delegate. - BinaryOperatorWithContext(Supplier<ContextSnapshot>, BinaryOperator<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BinaryOperatorWithContext
- BinaryOperatorWithContext(ContextSnapshot, BinaryOperator<T>) - Constructor for class nl.talsmasoftware.context.functions.BinaryOperatorWithContext
- BinaryOperatorWithContext(ContextSnapshot, BinaryOperator<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BinaryOperatorWithContext
- BiPredicateWithContext<IN1,IN2> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
BiPredicatethatreactivates a context snapshotbefore calling a delegate. - BiPredicateWithContext(Supplier<ContextSnapshot>, BiPredicate<IN1, IN2>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiPredicateWithContext
- BiPredicateWithContext(ContextSnapshot, BiPredicate<IN1, IN2>) - Constructor for class nl.talsmasoftware.context.functions.BiPredicateWithContext
- BiPredicateWithContext(ContextSnapshot, BiPredicate<IN1, IN2>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BiPredicateWithContext
- BooleanSupplierWithContext - Class in nl.talsmasoftware.context.functions
-
A wrapper for
BooleanSupplierthatreactivates a context snapshotbefore calling a delegate. - BooleanSupplierWithContext(Supplier<ContextSnapshot>, BooleanSupplier, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BooleanSupplierWithContext
- BooleanSupplierWithContext(ContextSnapshot, BooleanSupplier) - Constructor for class nl.talsmasoftware.context.functions.BooleanSupplierWithContext
- BooleanSupplierWithContext(ContextSnapshot, BooleanSupplier, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.BooleanSupplierWithContext
C
- completedFuture(U) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
ContextAwareCompletableFuturefrom the already-completed value. - completedFuture(U, ContextSnapshot) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
ContextAwareCompletableFuturefrom the already-completed value. - completedStage(U) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
CompletionStagefrom the already-completed value. - compose(Function<? super V, ? extends IN>) - Method in class nl.talsmasoftware.context.functions.FunctionWithContext
- ConsumerWithContext<T> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
Consumerthatreactivates a context snapshotbefore calling a delegate. - ConsumerWithContext(Supplier<ContextSnapshot>, Consumer<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.ConsumerWithContext
- ConsumerWithContext(ContextSnapshot, Consumer<T>) - Constructor for class nl.talsmasoftware.context.functions.ConsumerWithContext
- ConsumerWithContext(ContextSnapshot, Consumer<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.ConsumerWithContext
- ContextAwareCompletableFuture<T> - Class in nl.talsmasoftware.context.futures
-
This class extends the standard
CompletableFuturethat was introduced in java version 8. - ContextAwareCompletableFuture() - Constructor for class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
ContextSnapshotand remembers that in this completable future, running all completion methods within this snapshot. - ContextAwareCompletableFuture(ContextSnapshot) - Constructor for class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
CompletableFuturewhere all completion methods are run within the specified snapshot context.
E
- exceptionally(Function<Throwable, ? extends T>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
F
- failedFuture(Throwable) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
ContextAwareCompletableFuturethat is already completed exceptionally with the given exception. - failedFuture(Throwable, ContextSnapshot) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
ContextAwareCompletableFuturethat is already completed exceptionally with the given exception. - failedStage(Throwable) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Creates a new
CompletionStagethat is already completed exceptionally with the given exception. - FunctionWithContext<IN,OUT> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
Functionthatreactivates a context snapshotbefore calling a delegate. - FunctionWithContext(Supplier<ContextSnapshot>, Function<IN, OUT>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.FunctionWithContext
- FunctionWithContext(ContextSnapshot, Function<IN, OUT>) - Constructor for class nl.talsmasoftware.context.functions.FunctionWithContext
- FunctionWithContext(ContextSnapshot, Function<IN, OUT>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.FunctionWithContext
G
- get() - Method in class nl.talsmasoftware.context.functions.SupplierWithContext
- getAsBoolean() - Method in class nl.talsmasoftware.context.functions.BooleanSupplierWithContext
H
- handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
N
- nl.talsmasoftware.context.functions - package nl.talsmasoftware.context.functions
-
Java 8 functional interface wrappers that apply context snapshots to the mapped functions.
- nl.talsmasoftware.context.futures - package nl.talsmasoftware.context.futures
-
Package for context-aware java
Futurecode.
O
- or(BiPredicate<? super IN1, ? super IN2>) - Method in class nl.talsmasoftware.context.functions.BiPredicateWithContext
- or(Predicate<? super T>) - Method in class nl.talsmasoftware.context.functions.PredicateWithContext
P
- PredicateWithContext<T> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
Predicatethatreactivates a context snapshotbefore calling a delegate. - PredicateWithContext(Supplier<ContextSnapshot>, Predicate<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.PredicateWithContext
- PredicateWithContext(ContextSnapshot, Predicate<T>) - Constructor for class nl.talsmasoftware.context.functions.PredicateWithContext
- PredicateWithContext(ContextSnapshot, Predicate<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.PredicateWithContext
R
- run() - Method in class nl.talsmasoftware.context.functions.RunnableWithContext
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAfterEither(CompletionStage<?>, Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- runAsync(Runnable) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
runnabletask in the commonForkJoinPoolwithin the current context and also applies that context to all successive calls to theCompletableFuture. - runAsync(Runnable, Executor) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
runnabletask in the specifiedexecutorwithin the current context and also applies that context to all successive calls to theCompletableFuture. - runAsync(Runnable, Executor, ContextSnapshot) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
runnabletask in the specifiedexecutorwithin the specifiedcontext snapshotand also applies that context to all successive calls to theCompletableFuture. - runAsync(Runnable, Executor, ContextSnapshot, boolean) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
runnabletask in the specifiedexecutorwithin the specifiedcontext snapshotand also applies that context to all successive calls to theCompletableFuture. - RunnableWithContext - Class in nl.talsmasoftware.context.functions
-
A wrapper for
Runnablethatreactivates a context snapshotbefore calling a delegate. - RunnableWithContext(Supplier<ContextSnapshot>, Runnable, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.RunnableWithContext
- RunnableWithContext(ContextSnapshot, Runnable) - Constructor for class nl.talsmasoftware.context.functions.RunnableWithContext
-
Creates a new runnable that performs the following steps, in-order: first reactivate the given snapshot then run the delegate
- RunnableWithContext(ContextSnapshot, Runnable, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.RunnableWithContext
-
Creates a new runnable that performs the following steps, in-order: first reactivate the given snapshot then run the delegate finally, if a consumer was provided capture a new ContextSnapshot
S
- SupplierWithContext<T> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
Supplierthatreactivates a context snapshotbefore calling a delegate. - SupplierWithContext(Supplier<ContextSnapshot>, Supplier<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.SupplierWithContext
- SupplierWithContext(ContextSnapshot, Supplier<T>) - Constructor for class nl.talsmasoftware.context.functions.SupplierWithContext
- SupplierWithContext(ContextSnapshot, Supplier<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.SupplierWithContext
- supplyAsync(Supplier<U>) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
suppliertask in the commonForkJoinPoolwithin the current context and also applies that context to all successive calls to theCompletableFuture. - supplyAsync(Supplier<U>, Executor) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
suppliertask in the specifiedexecutorwithin the current context and also applies that context to all successive calls to theCompletableFuture. - supplyAsync(Supplier<U>, Executor, ContextSnapshot) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
suppliertask in the specifiedexecutorwithin the specifiedcontext snapshotand also applies that context to all successive calls to theCompletableFuture. - supplyAsync(Supplier<U>, Executor, ContextSnapshot, boolean) - Static method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Runs the
suppliertask in the specifiedexecutorwithin the specifiedcontext snapshotand also applies that context to all successive calls to theCompletableFuture.
T
- takeNewSnapshot() - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a context-aware CompletableFuture that takes a new snapshot after each completion stage.
- takeNewSnapshot(boolean) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
-
Returns a context-aware CompletableFuture that may take a new snapshot after each completion stage.
- test(IN1, IN2) - Method in class nl.talsmasoftware.context.functions.BiPredicateWithContext
- test(T) - Method in class nl.talsmasoftware.context.functions.PredicateWithContext
- thenAccept(Consumer<? super T>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenAcceptAsync(Consumer<? super T>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenApply(Function<? super T, ? extends U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenRun(Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenRunAsync(Runnable) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- thenRunAsync(Runnable, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
U
- UnaryOperatorWithContext<T> - Class in nl.talsmasoftware.context.functions
-
A wrapper for
UnaryOperatorthatreactivates a context snapshotbefore calling a delegate. - UnaryOperatorWithContext(Supplier<ContextSnapshot>, UnaryOperator<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.UnaryOperatorWithContext
- UnaryOperatorWithContext(ContextSnapshot, UnaryOperator<T>) - Constructor for class nl.talsmasoftware.context.functions.UnaryOperatorWithContext
- UnaryOperatorWithContext(ContextSnapshot, UnaryOperator<T>, Consumer<ContextSnapshot>) - Constructor for class nl.talsmasoftware.context.functions.UnaryOperatorWithContext
W
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class nl.talsmasoftware.context.futures.ContextAwareCompletableFuture
All Classes All Packages