| Package | Description |
|---|---|
| nl.talsmasoftware.context |
The core concepts of the context-propagation library.
|
| nl.talsmasoftware.context.threadlocal |
| Modifier and Type | Method | Description |
|---|---|---|
Context<T> |
ContextManager.getActiveContext() |
This method returns the current context, or
null if no context is currently active. |
Context<T> |
ContextManager.initializeNewContext(T value) |
This method initializes a new context containing the specified
value. |
Context<Void> |
ContextSnapshot.reactivate() |
This method activates all contained values by the snapshot in their respective
Context implementations. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractThreadLocalContext<T> |
Abstract base class that will maintain a shared, static
ThreadLocal instance for each concrete
subclass of this type. |
| Modifier and Type | Field | Description |
|---|---|---|
protected Context<T> |
AbstractThreadLocalContext.parentContext |
The parent context that was active at the time this context was created (if any)
or
null in case there was no active context when this context was created. |
Copyright © 2016–2018 Talsma ICT. All rights reserved.