Index
All Classes and Interfaces|All Packages|Serialized Form
B
- build() - Method in class io.helidon.common.context.Context.Builder
- builder() - Static method in interface io.helidon.common.context.Context
-
Fluent API builder for advanced configuration.
- Builder() - Constructor for class io.helidon.common.context.Context.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
C
- clearData(T) - Method in interface io.helidon.common.context.spi.DataPropagationProvider
-
Clears the propagated data from the new thread when it finishes.
- context() - Static method in class io.helidon.common.context.Contexts
-
Get context registry associated with current thread.
- Context - Interface in io.helidon.common.context
-
A registry for context objects.
- Context.Builder - Class in io.helidon.common.context
-
Fluent API builder for
Context. - ContextAwareExecutorService - Interface in io.helidon.common.context
-
An interface for wrapped executor services.
- Contexts - Class in io.helidon.common.context
-
Support for handling
Contextacross thread boundaries. - create() - Static method in interface io.helidon.common.context.Context
-
Creates a new empty instance.
- create(Context) - Static method in interface io.helidon.common.context.Context
-
Creates a new empty instance backed by its parent read-through
Context.
D
- data() - Method in interface io.helidon.common.context.spi.DataPropagationProvider
-
Return data that should be propagated.
- DataPropagationProvider<T> - Interface in io.helidon.common.context.spi
-
This is an SPI provider which helps user to propagate values from one thread to another.
E
- ExecutorException - Exception Class in io.helidon.common.context
-
Exception related to execution of a task in context.
- ExecutorException(String) - Constructor for exception class io.helidon.common.context.ExecutorException
-
Create exception with a descriptive message.
- ExecutorException(String, Throwable) - Constructor for exception class io.helidon.common.context.ExecutorException
-
Create exception with a descriptive message and a cause.
G
- get(Class<T>) - Method in interface io.helidon.common.context.Context
-
Optionally gets registered instance by its type.
- get(Object, Class<T>) - Method in interface io.helidon.common.context.Context
-
Optionally gets a registered instance by its type.
- globalContext() - Static method in class io.helidon.common.context.Contexts
-
Global context is always present and statically shared in this JVM.
I
- id() - Method in interface io.helidon.common.context.Context
-
A unique id of this context within this runtime.
- id(String) - Method in class io.helidon.common.context.Context.Builder
-
Identification of the new context, should be unique within this runtime.
- io.helidon.common.context - module io.helidon.common.context
-
Helidon Common Context library.
- io.helidon.common.context - package io.helidon.common.context
-
Support for context propagation across executor boundaries.
- io.helidon.common.context.spi - package io.helidon.common.context.spi
-
Provider for data propagation between threads in executor service.
P
- parent(Context) - Method in class io.helidon.common.context.Context.Builder
-
Parent of the new context.
- propagateData(T) - Method in interface io.helidon.common.context.spi.DataPropagationProvider
-
Propagates the data to be used by the new thread.
R
- register(Object, T) - Method in interface io.helidon.common.context.Context
-
Register a new instance with specified classifier.
- register(T) - Method in interface io.helidon.common.context.Context
-
Register a new instance.
- runInContext(Context, Runnable) - Static method in class io.helidon.common.context.Contexts
-
Run the runnable in the provided context.
- runInContext(Context, Callable<T>) - Static method in class io.helidon.common.context.Contexts
-
Run the callable in the provided context.
- runInContextWithThrow(Context, Callable<T>) - Static method in class io.helidon.common.context.Contexts
-
Run the callable in the provided context throwing any exception from its execution.
S
- supply(Class<T>, Supplier<T>) - Method in interface io.helidon.common.context.Context
-
Register a new instance using a provided supplier.
- supply(Object, Class<T>, Supplier<T>) - Method in interface io.helidon.common.context.Context
-
Registers a new instance using a provided supplier.
U
- unwrap() - Method in interface io.helidon.common.context.ContextAwareExecutorService
-
Unwrap the executor service.
W
- wrap(ExecutorService) - Static method in class io.helidon.common.context.Contexts
-
Wrap an executor service to correctly propagate context to its threads.
- wrap(ScheduledExecutorService) - Static method in class io.helidon.common.context.Contexts
-
Wrap a scheduled executor service to correctly propagate context to its threads.
All Classes and Interfaces|All Packages|Serialized Form
Context.builder()instead