| Package | Description |
|---|---|
| org.apache.logging.log4j |
Public API for Log4j 2.
|
| org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
| Modifier and Type | Field and Description |
|---|---|
private static ReadOnlyThreadContextMap |
ThreadContext.readOnlyContextMap |
| Modifier and Type | Method and Description |
|---|---|
static ReadOnlyThreadContextMap |
ThreadContext.getThreadContextMap()
Returns a read-only view of the internal data structure used to store thread context key-value pairs,
or
null if the internal data structure does not implement the
ReadOnlyThreadContextMap interface. |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
CopyOnWriteSortedArrayThreadContextMap
SortedArrayStringMap-based implementation of the ThreadContextMap interface that creates a copy of
the data structure on every modification. |
(package private) class |
GarbageFreeSortedArrayThreadContextMap
SortedArrayStringMap-based implementation of the ThreadContextMap interface that attempts not to
create temporary objects. |