An immutable snapshot of a particular type of thread context.
The captured context represented by this snapshot can be applied to any number of threads, including concurrently.
Any state that is associated with context applied to a thread should
be kept, not within the snapshot, but within the distinct
ThreadContextController instance it creates each time it is applied
to a thread.
| Modifier and Type | Method and Description |
|---|---|
| public ThreadContextController | Returns: controller instance representing a single application of this thread context snapshot to a thread.Applies the captured thread context snapshot to the current thread and
returns a distinct |
| begin | back to summary |
|---|---|
| public ThreadContextController begin() Applies the captured thread context snapshot to the current thread and
returns a distinct For each invocation of this method, the invoker (typically a
| |