| Package | Description |
|---|---|
| org.apache.logging.log4j | |
| org.ops4j.pax.logging.log4jv2 |
| 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 | Class and Description |
|---|---|
class |
Log4jv2ThreadContextStack
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. |
| Modifier and Type | Method and Description |
|---|---|
ThreadContext.ContextStack |
Log4jv2ThreadContextStack.getImmutableStackOrNull() |
Copyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.