A B C D E F G H I J M 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 io.smallrye.context.impl.wrappers.ContextualConsumer1
- accept(T) - Method in class io.smallrye.context.impl.wrappers.ContextualConsumer2
- accept(T) - Method in class io.smallrye.context.impl.wrappers.ContextualConsumerN
- accept(T) - Method in class io.smallrye.context.impl.wrappers.SlowContextualConsumer
- accept(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumer1
- accept(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumer2
- accept(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumerN
- accept(T, U) - Method in class io.smallrye.context.impl.wrappers.SlowContextualBiConsumer
- acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.smallrye.context.CompletableFutureWrapper
- acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.smallrye.context.CompletionStageWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.smallrye.context.CompletableFutureWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.smallrye.context.CompletionStageWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- addDiscoveredContextManagerExtensions() - Method in class io.smallrye.context.SmallRyeContextManager.Builder
- addDiscoveredThreadContextProviders() - Method in class io.smallrye.context.SmallRyeContextManager.Builder
- ALL_REMAINING_ARRAY - Static variable in class io.smallrye.context.SmallRyeContextManager
- allClearedThreadContext() - Method in class io.smallrye.context.SmallRyeContextManager
-
Returns a
SmallRyeThreadContextinstance which clears all thread contexts. - allPropagatedThreadContext() - Method in class io.smallrye.context.SmallRyeContextManager
-
Returns a
SmallRyeThreadContextinstance which propagates all thread contexts. - apply(T) - Method in class io.smallrye.context.impl.wrappers.ContextualFunction1
- apply(T) - Method in class io.smallrye.context.impl.wrappers.ContextualFunction2
- apply(T) - Method in class io.smallrye.context.impl.wrappers.ContextualFunctionN
- apply(T) - Method in class io.smallrye.context.impl.wrappers.SlowContextualFunction
- apply(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunction1
- apply(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunction2
- apply(T, U) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunctionN
- apply(T, U) - Method in class io.smallrye.context.impl.wrappers.SlowContextualBiFunction
- applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.smallrye.context.CompletionStageWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.smallrye.context.CompletionStageWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- awaitTermination(long, TimeUnit) - Method in class io.smallrye.context.SmallRyeManagedExecutor
B
- begin() - Method in interface io.smallrye.context.impl.CapturedContextState
- begin() - Method in class io.smallrye.context.impl.SlowCapturedContextState
-
Restores the captured context and returns an instance that can unrestore (cleanup) it.
- build() - Method in class io.smallrye.context.SmallRyeContextManager.Builder
- build() - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
- build() - Method in class io.smallrye.context.SmallRyeThreadContext.Builder
- builder() - Static method in class io.smallrye.context.SmallRyeManagedExecutor
- builder() - Static method in class io.smallrye.context.SmallRyeThreadContext
- Builder() - Constructor for class io.smallrye.context.SmallRyeContextManager.Builder
- Builder(SmallRyeContextManager) - Constructor for class io.smallrye.context.SmallRyeManagedExecutor.Builder
- Builder(SmallRyeContextManager) - Constructor for class io.smallrye.context.SmallRyeThreadContext.Builder
C
- call() - Method in class io.smallrye.context.impl.wrappers.ContextualCallable1
- call() - Method in class io.smallrye.context.impl.wrappers.ContextualCallable2
- call() - Method in class io.smallrye.context.impl.wrappers.ContextualCallableN
- call() - Method in class io.smallrye.context.impl.wrappers.SlowContextualCallable
- cancel(boolean) - Method in class io.smallrye.context.CompletableFutureWrapper
- CapturedContextState - Interface in io.smallrye.context.impl
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in interface io.smallrye.context.impl.ContextHolder
-
Store a thread local and its current value while capturing, in a way that storage is flattend in the context wrapper with minimal allocation.
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumer1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumer2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiConsumerN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunction1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunction2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualBiFunctionN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualCallable1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualCallable2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualCallableN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualConsumer1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualConsumer2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualConsumerN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutor1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutor2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutorN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualFunction1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualFunction2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualFunctionN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualRunnable1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualRunnable2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualRunnableN
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualSupplier1
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualSupplier2
- captureThreadLocal(int, ThreadLocal<Object>, Object) - Method in class io.smallrye.context.impl.wrappers.ContextualSupplierN
- checkDefaultExecutor() - Method in class io.smallrye.context.CompletableFutureWrapper
- checkDefaultExecutor() - Method in class io.smallrye.context.CompletionStageWrapper
- CleanAutoCloseable - Interface in io.smallrye.context
-
AutoCloseable interface which doesn't throw.
- cleared(String...) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
- cleared(String...) - Method in class io.smallrye.context.SmallRyeThreadContext.Builder
- clearedProviders - Variable in class io.smallrye.context.impl.ThreadContextProviderPlan
- clearedValue(Map<String, String>) - Method in interface io.smallrye.context.FastThreadContextProvider
-
The cleared value.
- close() - Method in interface io.smallrye.context.CleanAutoCloseable
-
Close this resource, no exception thrown.
- close() - Method in class io.smallrye.context.impl.SlowActiveContextState
-
Unrestores / clean-up a previously restored context.
- CompletableFutureWrapper<T> - Class in io.smallrye.context
- CompletableFutureWrapper(SmallRyeThreadContext, CompletableFuture<T>, Executor, int) - Constructor for class io.smallrye.context.CompletableFutureWrapper
- complete(T) - Method in class io.smallrye.context.CompletableFutureWrapper
- completedFuture(U) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- completedFuture(U) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new CompletableFuture that is already completed with the specified value.
- completedStage(U) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- completedStage(U) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new CompletionStage that is already completed with the specified value.
- completeExceptionally(Throwable) - Method in class io.smallrye.context.CompletableFutureWrapper
- CompletionStageWrapper<T> - Class in io.smallrye.context
- CompletionStageWrapper(SmallRyeThreadContext, CompletionStage<T>, Executor) - Constructor for class io.smallrye.context.CompletionStageWrapper
- context - Variable in class io.smallrye.context.CompletableFutureWrapper
- context - Variable in class io.smallrye.context.CompletionStageWrapper
- ContextHolder - Interface in io.smallrye.context.impl
-
Interface to be implemented by contextual wrappers so the plan can feed them thread locals.
- ContextualBiConsumer<T,U> - Interface in io.smallrye.context.impl.wrappers
- ContextualBiConsumer1<T,U> - Class in io.smallrye.context.impl.wrappers
- ContextualBiConsumer1(BiConsumer<T, U>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiConsumer1
- ContextualBiConsumer2<T,U> - Class in io.smallrye.context.impl.wrappers
- ContextualBiConsumer2(BiConsumer<T, U>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiConsumer2
- ContextualBiConsumerN<T,U> - Class in io.smallrye.context.impl.wrappers
- ContextualBiConsumerN(BiConsumer<T, U>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiConsumerN
- ContextualBiFunction<T,U,R> - Interface in io.smallrye.context.impl.wrappers
- ContextualBiFunction1<T,U,R> - Class in io.smallrye.context.impl.wrappers
- ContextualBiFunction1(BiFunction<T, U, R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiFunction1
- ContextualBiFunction2<T,U,R> - Class in io.smallrye.context.impl.wrappers
- ContextualBiFunction2(BiFunction<T, U, R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiFunction2
- ContextualBiFunctionN<T,U,R> - Class in io.smallrye.context.impl.wrappers
- ContextualBiFunctionN(BiFunction<T, U, R>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualBiFunctionN
- contextualCallable(Callable<R>) - Method in class io.smallrye.context.SmallRyeThreadContext
- ContextualCallable<T> - Interface in io.smallrye.context.impl.wrappers
- ContextualCallable1<T> - Class in io.smallrye.context.impl.wrappers
- ContextualCallable1(Callable<T>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualCallable1
- ContextualCallable2<T> - Class in io.smallrye.context.impl.wrappers
- ContextualCallable2(Callable<T>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualCallable2
- ContextualCallableN<T> - Class in io.smallrye.context.impl.wrappers
- ContextualCallableN(Callable<T>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualCallableN
- contextualConsumer(BiConsumer<T, U>) - Method in class io.smallrye.context.SmallRyeThreadContext
- contextualConsumer(Consumer<T>) - Method in class io.smallrye.context.SmallRyeThreadContext
- ContextualConsumer<T> - Interface in io.smallrye.context.impl.wrappers
- ContextualConsumer1<T> - Class in io.smallrye.context.impl.wrappers
- ContextualConsumer1(Consumer<T>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualConsumer1
- ContextualConsumer2<T> - Class in io.smallrye.context.impl.wrappers
- ContextualConsumer2(Consumer<T>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualConsumer2
- ContextualConsumerN<T> - Class in io.smallrye.context.impl.wrappers
- ContextualConsumerN(Consumer<T>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualConsumerN
- ContextualExecutor - Interface in io.smallrye.context.impl.wrappers
- ContextualExecutor1 - Class in io.smallrye.context.impl.wrappers
- ContextualExecutor1() - Constructor for class io.smallrye.context.impl.wrappers.ContextualExecutor1
- ContextualExecutor2 - Class in io.smallrye.context.impl.wrappers
- ContextualExecutor2() - Constructor for class io.smallrye.context.impl.wrappers.ContextualExecutor2
- ContextualExecutorN - Class in io.smallrye.context.impl.wrappers
- ContextualExecutorN(int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualExecutorN
- contextualFunction(BiFunction<T, U, R>) - Method in class io.smallrye.context.SmallRyeThreadContext
- contextualFunction(Function<T, R>) - Method in class io.smallrye.context.SmallRyeThreadContext
- ContextualFunction<T,R> - Interface in io.smallrye.context.impl.wrappers
- ContextualFunction1<T,R> - Class in io.smallrye.context.impl.wrappers
- ContextualFunction1(Function<T, R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualFunction1
- ContextualFunction2<T,R> - Class in io.smallrye.context.impl.wrappers
- ContextualFunction2(Function<T, R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualFunction2
- ContextualFunctionN<T,R> - Class in io.smallrye.context.impl.wrappers
- ContextualFunctionN(Function<T, R>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualFunctionN
- Contextualized - Interface in io.smallrye.context.impl
-
Marker interface for contextualised lambdas, so we don't try to recontextualise them.
- contextualRunnable(Runnable) - Method in class io.smallrye.context.SmallRyeThreadContext
- ContextualRunnable - Interface in io.smallrye.context.impl.wrappers
- ContextualRunnable1 - Class in io.smallrye.context.impl.wrappers
- ContextualRunnable1(Runnable) - Constructor for class io.smallrye.context.impl.wrappers.ContextualRunnable1
- ContextualRunnable2 - Class in io.smallrye.context.impl.wrappers
- ContextualRunnable2(Runnable) - Constructor for class io.smallrye.context.impl.wrappers.ContextualRunnable2
- ContextualRunnableN - Class in io.smallrye.context.impl.wrappers
- ContextualRunnableN(Runnable, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualRunnableN
- contextualSupplier(Supplier<R>) - Method in class io.smallrye.context.SmallRyeThreadContext
- ContextualSupplier<R> - Interface in io.smallrye.context.impl.wrappers
- ContextualSupplier1<R> - Class in io.smallrye.context.impl.wrappers
- ContextualSupplier1(Supplier<R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualSupplier1
- ContextualSupplier2<R> - Class in io.smallrye.context.impl.wrappers
- ContextualSupplier2(Supplier<R>) - Constructor for class io.smallrye.context.impl.wrappers.ContextualSupplier2
- ContextualSupplierN<R> - Class in io.smallrye.context.impl.wrappers
- ContextualSupplierN(Supplier<R>, int) - Constructor for class io.smallrye.context.impl.wrappers.ContextualSupplierN
- copy(CompletableFuture<T>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
-
Returns a new
CompletableFuturethat is completed by the completion of the specified stage. - copy(CompletableFuture<T>) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new
CompletableFuturethat is completed by the completion of the specified stage. - copy(CompletionStage<T>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
-
Returns a new
CompletionStagethat is completed by the completion of the specified stage. - copy(CompletionStage<T>) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new
CompletionStagethat is completed by the completion of the specified stage. - currentContextExecutor() - Method in class io.smallrye.context.SmallRyeThreadContext
D
- defaultThreadContext() - Method in class io.smallrye.context.SmallRyeContextManager
-
Returns a
SmallRyeThreadContextinstance which propagates default contexts, possibly configured via MP Config. - DefaultValues - Class in io.smallrye.context.impl
-
Holds default values for
ManagedExecutorandThreadContext. - DefaultValues() - Constructor for class io.smallrye.context.impl.DefaultValues
E
- enableFastThreadContextProviders(boolean) - Method in class io.smallrye.context.SmallRyeContextManager.Builder
-
Enable or disable FastThreadContextProviders optimisations.
- equals(Object) - Method in class io.smallrye.context.CompletableFutureWrapper
- equals(Object) - Method in class io.smallrye.context.CompletionStageWrapper
- exceptionally(Function<Throwable, ? extends T>) - Method in class io.smallrye.context.CompletableFutureWrapper
- exceptionally(Function<Throwable, ? extends T>) - Method in class io.smallrye.context.CompletionStageWrapper
- execute(Runnable) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutor1
- execute(Runnable) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutor2
- execute(Runnable) - Method in class io.smallrye.context.impl.wrappers.ContextualExecutorN
- execute(Runnable) - Method in class io.smallrye.context.impl.wrappers.SlowContextualExecutor
- execute(Runnable) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- executor - Variable in class io.smallrye.context.CompletableFutureWrapper
-
If this executor is not null, we're wrapping a CF.
- executor - Variable in class io.smallrye.context.CompletionStageWrapper
F
- f - Variable in class io.smallrye.context.CompletableFutureWrapper
- f - Variable in class io.smallrye.context.CompletionStageWrapper
- failedFuture(Throwable) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- failedFuture(Throwable) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new CompletableFuture that is already exceptionally completed with the specified Throwable.
- failedStage(Throwable) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- failedStage(Throwable) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new CompletionStage that is already exceptionally completed with the specified Throwable.
- FastStorageThreadContextProvider<Declaration extends StorageDeclaration<?>> - Interface in io.smallrye.context
-
Special implementation of a
FastThreadContextProviderif your context is usingStorageManagerto obtain its ThreadLocal, in which case we can obtain it from there to propagate it, if we know itsStorageDeclaration. - FastThreadContextProvider - Interface in io.smallrye.context
-
Subtype of ThreadContextProvider which bypasses all the
ThreadContextProvider.currentContext(Map)andThreadContextProvider.clearedContext(Map)andThreadContextSnapshotand just works on the ThreadLocal and cleared value we designate. - findContextManager(ClassLoader) - Method in class io.smallrye.context.SmallRyeContextManagerProvider
-
Looks for any context manager registered for a particular class loader.
- FLAG_DEPENDENT - Static variable in class io.smallrye.context.CompletableFutureWrapper
- FLAG_MINIMAL - Static variable in class io.smallrye.context.CompletableFutureWrapper
- flags - Variable in class io.smallrye.context.CompletableFutureWrapper
- forClassLoader(ClassLoader) - Method in class io.smallrye.context.SmallRyeContextManager.Builder
G
- get() - Method in class io.smallrye.context.CompletableFutureWrapper
- get() - Method in class io.smallrye.context.impl.wrappers.ContextualSupplier1
- get() - Method in class io.smallrye.context.impl.wrappers.ContextualSupplier2
- get() - Method in class io.smallrye.context.impl.wrappers.ContextualSupplierN
- get() - Method in class io.smallrye.context.impl.wrappers.SlowContextualSupplier
- get(long, TimeUnit) - Method in class io.smallrye.context.CompletableFutureWrapper
- getAllProviderTypes() - Method in class io.smallrye.context.SmallRyeContextManager
- getContextManager() - Method in class io.smallrye.context.SmallRyeContextManagerProvider
- getContextManager(ClassLoader) - Method in class io.smallrye.context.SmallRyeContextManagerProvider
- getContextManagerBuilder() - Method in class io.smallrye.context.SmallRyeContextManagerProvider
- getCurrentThreadContext() - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Returns the current thread's @{link SmallRyeThreadContext} if set, or null.
- getCurrentThreadContext(SmallRyeThreadContext) - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Returns the current thread's @{link SmallRyeThreadContext} if set, or the given @{link SmallRyeThreadContext} default value.
- getCurrentThreadContextOrClearedContexts() - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Returns the current thread's @{link SmallRyeThreadContext} if set, or a @{link SmallRyeThreadContext} which clears all contexts.
- getCurrentThreadContextOrDefaultContexts() - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Returns the current thread's @{link SmallRyeThreadContext} if set, or a @{link SmallRyeThreadContext} with default contexts, possibly configured via MP Config.
- getCurrentThreadContextOrPropagatedContexts() - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Returns the current thread's @{link SmallRyeThreadContext} if set, or a @{link SmallRyeThreadContext} which propagates all contexts.
- getDefaultExecutor() - Method in class io.smallrye.context.SmallRyeThreadContext
- getDefaultExecutorService() - Method in class io.smallrye.context.SmallRyeContextManager
- getDefaultValues() - Method in class io.smallrye.context.SmallRyeContextManager
- getExecutorAsync() - Method in class io.smallrye.context.impl.DefaultValues
- getExecutorCleared() - Method in class io.smallrye.context.impl.DefaultValues
- getExecutorPropagated() - Method in class io.smallrye.context.impl.DefaultValues
- getExecutorQueue() - Method in class io.smallrye.context.impl.DefaultValues
- getExtensions() - Method in class io.smallrye.context.SmallRyeContextManager
- getInjectionPointName() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- getManager() - Static method in class io.smallrye.context.SmallRyeContextManagerProvider
- getMaxAsync() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- getMaxQueued() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- getNow(T) - Method in class io.smallrye.context.CompletableFutureWrapper
- getNumberOfDependents() - Method in class io.smallrye.context.CompletableFutureWrapper
- getPlan() - Method in class io.smallrye.context.SmallRyeThreadContext
- getProviderPlan() - Method in class io.smallrye.context.SmallRyeContextManager
- getProviderPlan(String[], String[], String[]) - Method in class io.smallrye.context.SmallRyeContextManager
- getStorageDeclaration() - Method in interface io.smallrye.context.FastStorageThreadContextProvider
- getThreadCleared() - Method in class io.smallrye.context.impl.DefaultValues
- getThreadContext() - Method in class io.smallrye.context.SmallRyeManagedExecutor
-
Returns a
ThreadContextwhich has the same propagation settings as thisManagedExecutor, which uses thisManagedExecutoras its default executor. - getThreadContextProviderPlan() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- getThreadPropagated() - Method in class io.smallrye.context.impl.DefaultValues
- getThreadUnchanged() - Method in class io.smallrye.context.impl.DefaultValues
H
- handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.smallrye.context.CompletionStageWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.smallrye.context.CompletionStageWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- hashCode() - Method in class io.smallrye.context.CompletableFutureWrapper
- hashCode() - Method in class io.smallrye.context.CompletionStageWrapper
I
- injectionPointName(String) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
- injectionPointName(String) - Method in class io.smallrye.context.SmallRyeThreadContext.Builder
- instance() - Static method in class io.smallrye.context.SmallRyeContextManagerProvider
- invokeAll(Collection<? extends Callable<T>>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- invokeAny(Collection<? extends Callable<T>>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- io.smallrye.context - package io.smallrye.context
- io.smallrye.context.impl - package io.smallrye.context.impl
- io.smallrye.context.impl.cdi - package io.smallrye.context.impl.cdi
- io.smallrye.context.impl.wrappers - package io.smallrye.context.impl.wrappers
- isCancelled() - Method in class io.smallrye.context.CompletableFutureWrapper
- isCompletedExceptionally() - Method in class io.smallrye.context.CompletableFutureWrapper
- isContextualized(Object) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns true if the given lambda instance is already contextualized
- isDone() - Method in class io.smallrye.context.CompletableFutureWrapper
- isEmpty() - Method in class io.smallrye.context.impl.ThreadContextProviderPlan
- isEmpty() - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns true if this thread context has no context to propagate nor clear, and so will not contextualise anything.
- isFast() - Method in class io.smallrye.context.impl.ThreadContextProviderPlan
- isShutdown() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- isTerminated() - Method in class io.smallrye.context.SmallRyeManagedExecutor
J
- JdkSpecific - Class in io.smallrye.context
- JdkSpecific() - Constructor for class io.smallrye.context.JdkSpecific
- JdkSpecific.Contract - Interface in io.smallrye.context
- JdkSpecificImpl - Class in io.smallrye.context.impl
- JdkSpecificImpl() - Constructor for class io.smallrye.context.impl.JdkSpecificImpl
- join() - Method in class io.smallrye.context.CompletableFutureWrapper
M
- manageCurrentContext(InvocationContext) - Method in class io.smallrye.context.impl.cdi.SmallRyeCurrentThreadContextInterceptor
- maxAsync(int) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
- maxQueued(int) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
N
- newCompletableFutureWrapper(SmallRyeThreadContext, CompletableFuture<T>, Executor, int) - Method in class io.smallrye.context.impl.JdkSpecificImpl
- newCompletableFutureWrapper(SmallRyeThreadContext, CompletableFuture<T>, Executor, int) - Method in interface io.smallrye.context.JdkSpecific.Contract
- newCompletableFutureWrapper(SmallRyeThreadContext, CompletableFuture<T>, Executor, int) - Static method in class io.smallrye.context.JdkSpecific
- newCompletionStageWrapper(SmallRyeThreadContext, CompletionStage<T>, Executor) - Method in class io.smallrye.context.impl.JdkSpecificImpl
- newCompletionStageWrapper(SmallRyeThreadContext, CompletionStage<T>, Executor) - Method in interface io.smallrye.context.JdkSpecific.Contract
- newCompletionStageWrapper(SmallRyeThreadContext, CompletionStage<T>, Executor) - Static method in class io.smallrye.context.JdkSpecific
- newIncompleteFuture() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- newIncompleteFuture() - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new incomplete
CompletableFuture. - newManagedExecutorBuilder() - Method in class io.smallrye.context.SmallRyeContextManager
- newThreadContextBuilder() - Method in class io.smallrye.context.SmallRyeContextManager
- newThreadPoolExecutor(int, int) - Static method in class io.smallrye.context.SmallRyeManagedExecutor
- NO_STRING - Static variable in class io.smallrye.context.SmallRyeContextManager
- NONE - Static variable in class io.smallrye.context.SmallRyeContextManager
O
- obtrudeException(Throwable) - Method in class io.smallrye.context.CompletableFutureWrapper
- obtrudeValue(T) - Method in class io.smallrye.context.CompletableFutureWrapper
P
- propagated(String...) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
- propagated(String...) - Method in class io.smallrye.context.SmallRyeThreadContext.Builder
- propagatedProviders - Variable in class io.smallrye.context.impl.ThreadContextProviderPlan
R
- register() - Static method in class io.smallrye.context.SmallRyeContextManagerProvider
-
Deprecated.Should be removed in favour of SPI
- registerContextManager(ContextManager, ClassLoader) - Method in class io.smallrye.context.SmallRyeContextManagerProvider
- registerOnProvider() - Method in class io.smallrye.context.SmallRyeContextManager.Builder
-
Registers the built instance to the current
SmallRyeContextManagerProviderbefore any extensions are loaded. - releaseContextManager(ContextManager) - Method in class io.smallrye.context.SmallRyeContextManagerProvider
- run() - Method in class io.smallrye.context.impl.wrappers.ContextualRunnable1
- run() - Method in class io.smallrye.context.impl.wrappers.ContextualRunnable2
- run() - Method in class io.smallrye.context.impl.wrappers.ContextualRunnableN
- run() - Method in class io.smallrye.context.impl.wrappers.SlowContextualRunnable
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- runAfterEither(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterEither(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- runAsync(Runnable) - Method in class io.smallrye.context.SmallRyeManagedExecutor
S
- shutdown() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- shutdownNow() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- size() - Method in class io.smallrye.context.impl.ThreadContextProviderPlan
- SlowActiveContextState - Class in io.smallrye.context.impl
-
Restores a context and allows you to clean it up (unrestore it).
- SlowActiveContextState(SmallRyeThreadContext, List<ThreadContextSnapshot>) - Constructor for class io.smallrye.context.impl.SlowActiveContextState
-
Restores a previously captured context.
- SlowCapturedContextState - Class in io.smallrye.context.impl
-
Holds the list of thread context snapshots that constitute a captured context.
- SlowCapturedContextState(SmallRyeThreadContext) - Constructor for class io.smallrye.context.impl.SlowCapturedContextState
-
Captures the current context according to the given ThreadContext
- SlowContextualBiConsumer<T,U> - Class in io.smallrye.context.impl.wrappers
- SlowContextualBiConsumer(CapturedContextState, BiConsumer<T, U>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualBiConsumer
- SlowContextualBiFunction<T,U,R> - Class in io.smallrye.context.impl.wrappers
- SlowContextualBiFunction(CapturedContextState, BiFunction<T, U, R>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualBiFunction
- SlowContextualCallable<R> - Class in io.smallrye.context.impl.wrappers
- SlowContextualCallable(CapturedContextState, Callable<R>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualCallable
- SlowContextualConsumer<T> - Class in io.smallrye.context.impl.wrappers
- SlowContextualConsumer(CapturedContextState, Consumer<T>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualConsumer
- SlowContextualExecutor - Class in io.smallrye.context.impl.wrappers
- SlowContextualExecutor(CapturedContextState) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualExecutor
- SlowContextualFunction<T,R> - Class in io.smallrye.context.impl.wrappers
- SlowContextualFunction(CapturedContextState, Function<T, R>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualFunction
- SlowContextualRunnable - Class in io.smallrye.context.impl.wrappers
- SlowContextualRunnable(CapturedContextState, Runnable) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualRunnable
- SlowContextualSupplier<R> - Class in io.smallrye.context.impl.wrappers
- SlowContextualSupplier(CapturedContextState, Supplier<R>) - Constructor for class io.smallrye.context.impl.wrappers.SlowContextualSupplier
- SmallRyeContextManager - Class in io.smallrye.context
- SmallRyeContextManager.Builder - Class in io.smallrye.context
- SmallRyeContextManagerProvider - Class in io.smallrye.context
- SmallRyeContextManagerProvider() - Constructor for class io.smallrye.context.SmallRyeContextManagerProvider
- SmallRyeCurrentThreadContextInterceptor - Class in io.smallrye.context.impl.cdi
- SmallRyeCurrentThreadContextInterceptor() - Constructor for class io.smallrye.context.impl.cdi.SmallRyeCurrentThreadContextInterceptor
- SmallRyeManagedExecutor - Class in io.smallrye.context
- SmallRyeManagedExecutor(int, int, SmallRyeThreadContext, ExecutorService, String) - Constructor for class io.smallrye.context.SmallRyeManagedExecutor
- SmallRyeManagedExecutor.Builder - Class in io.smallrye.context
- SmallRyeThreadContext - Class in io.smallrye.context
- SmallRyeThreadContext(SmallRyeContextManager, String[], String[], String[], String, ExecutorService) - Constructor for class io.smallrye.context.SmallRyeThreadContext
- SmallRyeThreadContext.Builder - Class in io.smallrye.context
- SmallRyeThreadContextStorageDeclaration - Class in io.smallrye.context.impl
- SmallRyeThreadContextStorageDeclaration() - Constructor for class io.smallrye.context.impl.SmallRyeThreadContextStorageDeclaration
- submit(Runnable) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- submit(Runnable, T) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- submit(Callable<T>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
- supplyAsync(Supplier<U>) - Method in class io.smallrye.context.SmallRyeManagedExecutor
T
- takeThreadContextSnapshots() - Method in class io.smallrye.context.impl.ThreadContextProviderPlan
-
This helps to optimise construction of CapturedContextState without exposing too many implementation details.
- takeThreadContextSnapshotsFast(SmallRyeThreadContext, ThreadLocal<SmallRyeThreadContext>, ContextHolder) - Method in class io.smallrye.context.impl.ThreadContextProviderPlan
-
Use this if @{link
ThreadContextProviderPlan.isFast()is true (it will throw otherwise) when you want to capture the current context using the fast-path, and feed the captured context in the given @{link ContextHolder}, which must have a size compatible with @{linkThreadContextProviderPlan.size(). - thenAccept(Consumer<? super T>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAccept(Consumer<? super T>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenAcceptAsync(Consumer<? super T>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAcceptAsync(Consumer<? super T>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAcceptAsync(Consumer<? super T>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- thenApply(Function<? super T, ? extends U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenApply(Function<? super T, ? extends U>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.smallrye.context.CompletionStageWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- thenRun(Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenRun(Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- thenRunAsync(Runnable) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenRunAsync(Runnable) - Method in class io.smallrye.context.CompletionStageWrapper
- thenRunAsync(Runnable, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- thenRunAsync(Runnable, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- ThreadContextProviderPlan - Class in io.smallrye.context.impl
- ThreadContextProviderPlan(Set<ThreadContextProvider>, Set<ThreadContextProvider>, Set<ThreadContextProvider>, boolean) - Constructor for class io.smallrye.context.impl.ThreadContextProviderPlan
- threadLocal(Map<String, String>) - Method in interface io.smallrye.context.FastStorageThreadContextProvider
- threadLocal(Map<String, String>) - Method in interface io.smallrye.context.FastThreadContextProvider
-
Designates the ThreadLocal that we should capture/restore.
- toCompletableFuture() - Method in class io.smallrye.context.CompletableFutureWrapper
- toCompletableFuture() - Method in class io.smallrye.context.CompletionStageWrapper
- toString() - Method in class io.smallrye.context.CompletableFutureWrapper
- toString() - Method in class io.smallrye.context.CompletionStageWrapper
- toString() - Method in class io.smallrye.context.SmallRyeManagedExecutor
- toString() - Method in class io.smallrye.context.SmallRyeThreadContext
U
- unchanged(String...) - Method in class io.smallrye.context.SmallRyeThreadContext.Builder
- unchangedProviders - Variable in class io.smallrye.context.impl.ThreadContextProviderPlan
- unregister() - Static method in class io.smallrye.context.SmallRyeContextManagerProvider
-
Deprecated.Should be removed in favour of SPI
W
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class io.smallrye.context.CompletableFutureWrapper
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class io.smallrye.context.CompletionStageWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class io.smallrye.context.CompletableFutureWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class io.smallrye.context.CompletionStageWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class io.smallrye.context.CompletableFutureWrapper
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class io.smallrye.context.CompletionStageWrapper
- withContextCapture(CompletableFuture<T>) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new
CompletableFuturethat is completed by the completion of the specified stage. - withContextCapture(CompletableFuture<T>, Executor, int) - Method in class io.smallrye.context.SmallRyeThreadContext
- withContextCapture(CompletionStage<T>) - Method in class io.smallrye.context.SmallRyeThreadContext
-
Returns a new
CompletionStagethat is completed by the completion of the specified stage. - withContextCapture(CompletionStage<T>, Executor) - Method in class io.smallrye.context.SmallRyeThreadContext
- withContextManagerExtensions(ContextManagerExtension...) - Method in class io.smallrye.context.SmallRyeContextManager.Builder
- withDefaultExecutorService(ExecutorService) - Method in class io.smallrye.context.SmallRyeContextManager.Builder
-
Make all created
SmallRyeManagedExecutorforward to the given executor service by default instead of creating new executor services to back them. - withExecutorService(ExecutorService) - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
-
Delegate execution to the given executor service instead of the default set by
SmallRyeContextManager.Builder.withDefaultExecutorService(ExecutorService). - withNewExecutorService() - Method in class io.smallrye.context.SmallRyeManagedExecutor.Builder
-
Forces the creation of a new executor service.
- withThreadContext(SmallRyeThreadContext) - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Updates the current @{link SmallRyeThreadContext} in use by the current thread, and returns an object suitable for use in try-with-resource to restore the previous value.
- withThreadContext(SmallRyeThreadContext, Runnable) - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Invokes the given @{link Runnable} with the current @{link SmallRyeThreadContext} updated to the given value for the current thread.
- withThreadContext(SmallRyeThreadContext, Supplier<T>) - Static method in class io.smallrye.context.SmallRyeThreadContext
-
Invokes the given @{link Supplier} with the current @{link SmallRyeThreadContext} updated to the given value for the current thread.
- withThreadContextProviders(ThreadContextProvider...) - Method in class io.smallrye.context.SmallRyeContextManager.Builder
All Classes All Packages