Uses of Interface
org.apache.logging.log4j.ThreadContext.ContextStack
Packages that use 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
Methods in org.apache.logging.log4j that return ThreadContext.ContextStackModifier and TypeMethodDescriptionstatic ThreadContext.ContextStackThreadContext.cloneStack()Returns a copy of this thread's stack.ThreadContext.ContextStack.copy()Returns a copy of the ContextStack.static ThreadContext.ContextStackThreadContext.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
Subinterfaces of ThreadContext.ContextStack in org.apache.logging.log4j.spiModifier and TypeInterfaceDescriptioninterfaceService provider interface to implement custom NDC behavior forThreadContext.Classes in org.apache.logging.log4j.spi that implement ThreadContext.ContextStackModifier and TypeClassDescriptionclassA copy-on-write thread-safe variant oforg.apache.logging.log4j.spi.ThreadContextStackin which all mutative operations (add, pop, and so on) are implemented by making a fresh copy of the underlying list.classTODOMethods in org.apache.logging.log4j.spi that return ThreadContext.ContextStackModifier and TypeMethodDescriptionDefaultThreadContextStack.getImmutableStackOrNull()MutableThreadContextStack.getImmutableStackOrNull()