Uses of Interface
org.apache.logging.log4j.ThreadContext.ContextStack
Package
Description
Public API for Log4j 2.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
-
Uses of ThreadContext.ContextStack in org.apache.logging.log4j
Modifier and TypeMethodDescriptionstatic ThreadContext.ContextStack
ThreadContext.cloneStack()
Returns a copy of this thread's stack.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.getImmutableStackOrNull()
Returns a ContextStack with the same contents as this ContextStack ornull
. -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.spi
Modifier and TypeInterfaceDescriptioninterface
Service provider interface to implement custom NDC behavior forThreadContext
.Modifier and TypeClassDescriptionclass
A copy-on-write thread-safe variant oforg.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
TODOModifier and TypeMethodDescriptionDefaultThreadContextStack.getImmutableStackOrNull()
MutableThreadContextStack.getImmutableStackOrNull()