| 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 | Method and Description |
|---|---|
static ThreadContext.ContextStack |
ThreadContext.cloneStack()
Returns a copy of this thread's stack.
|
ThreadContext.ContextStack |
ThreadContext.ContextStack.copy()
Returns a copy of the ContextStack.
|
static ThreadContext.ContextStack |
ThreadContext.getImmutableStack()
Gets an immutable copy of this current thread's context stack.
|
ThreadContext.ContextStack |
ThreadContext.ContextStack.getImmutableStackOrNull()
Returns a ContextStack with the same contents as this ContextStack or
null. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ThreadContextStack
Service provider interface to implement custom NDC behavior for
ThreadContext. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultThreadContextStack
A copy-on-write thread-safe variant of
org.apache.logging.log4j.spi.ThreadContextStack in which all mutative
operations (add, pop, and so on) are implemented by making a fresh copy of the underlying list. |
class |
MutableThreadContextStack
TODO
|
| Modifier and Type | Method and Description |
|---|---|
ThreadContext.ContextStack |
MutableThreadContextStack.getImmutableStackOrNull() |
ThreadContext.ContextStack |
DefaultThreadContextStack.getImmutableStackOrNull() |
Copyright © 2022 JBoss by Red Hat. All rights reserved.