Package | Description |
---|---|
org.eclipse.microprofile.context | |
org.eclipse.microprofile.context.spi |
Modifier and Type | Method and Description |
---|---|
static ThreadContext.Builder |
ThreadContext.builder()
Creates a new
ThreadContext.Builder instance. |
ThreadContext.Builder |
ThreadContext.Builder.cleared(String... types)
Defines the set of thread context types to clear from the thread
where the action or task executes.
|
ThreadContext.Builder |
ThreadContext.Builder.propagated(String... types)
Defines the set of thread context types to capture from the thread
that contextualizes an action or task.
|
ThreadContext.Builder |
ThreadContext.Builder.unchanged(String... types)
Defines a set of thread context types that are essentially ignored,
in that they are neither captured nor are they propagated or cleared
from thread(s) that execute the action or task.
|
Modifier and Type | Method and Description |
---|---|
ThreadContext.Builder |
ContextManager.newThreadContextBuilder()
Creates a new
ThreadContext.Builder instance. |
Copyright © 2018 ‘ 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.