Uses of Interface
io.helidon.common.context.Context
Packages that use Context
Package
Description
Support for context propagation across executor boundaries.
-
Uses of Context in io.helidon.common.context
Methods in io.helidon.common.context that return ContextModifier and TypeMethodDescriptionContext.Builder.build()static ContextContext.create()Creates a new empty instance.static ContextCreates a new empty instance backed by its parent read-throughContext.static ContextContexts.globalContext()Global context is always present and statically shared in this JVM.Methods in io.helidon.common.context that return types with arguments of type ContextModifier and TypeMethodDescriptionContexts.context()Get context registry associated with current thread.Methods in io.helidon.common.context with parameters of type ContextModifier and TypeMethodDescriptionstatic ContextCreates a new empty instance backed by its parent read-throughContext.Parent of the new context.static voidContexts.runInContext(Context context, Runnable runnable) Run the runnable in the provided context.static <T> TContexts.runInContext(Context context, Callable<T> callable) Run the callable in the provided context.static <T> TContexts.runInContextWithThrow(Context context, Callable<T> callable) Run the callable in the provided context throwing any exception from its execution.