Uses of Interface
org.apache.logging.log4j.ThreadContext.ContextStack
-
Packages that use ThreadContext.ContextStack Package Description org.apache.log4j.bridge org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.jackson Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson library.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.spi 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.log4j.bridge
Methods in org.apache.log4j.bridge that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackLogEventWrapper. getContextStack() -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j
Classes in org.apache.logging.log4j that implement ThreadContext.ContextStack Modifier and Type Class Description private static classThreadContext.EmptyThreadContextStackAn empty read-only ThreadContextStack.Methods in org.apache.logging.log4j that return ThreadContext.ContextStack Modifier and Type Method Description static ThreadContext.ContextStackThreadContext. cloneStack()Returns a copy of this thread's stack.ThreadContext.ContextStackThreadContext.ContextStack. copy()Returns a copy of the ContextStack.ThreadContext.ContextStackThreadContext.EmptyThreadContextStack. copy()static ThreadContext.ContextStackThreadContext. getImmutableStack()Gets an immutable copy of this current thread's context stack.ThreadContext.ContextStackThreadContext.ContextStack. getImmutableStackOrNull()Returns a ContextStack with the same contents as this ContextStack ornull.ThreadContext.ContextStackThreadContext.EmptyThreadContextStack. getImmutableStackOrNull() -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackAbstractLogEvent. getContextStack()ThreadContext.ContextStackLogEvent. getContextStack()Gets the context stack (also known as Nested Diagnostic Context or NDC). -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.core.async
Fields in org.apache.logging.log4j.core.async declared as ThreadContext.ContextStack Modifier and Type Field Description private ThreadContext.ContextStackRingBufferLogEvent. contextStackprivate ThreadContext.ContextStackRingBufferLogEventTranslator. contextStackMethods in org.apache.logging.log4j.core.async that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackRingBufferLogEvent. getContextStack()Methods in org.apache.logging.log4j.core.async with parameters of type ThreadContext.ContextStack Modifier and Type Method Description voidRingBufferLogEventTranslator. setBasicValues(AsyncLogger anAsyncLogger, java.lang.String aLoggerName, Marker aMarker, java.lang.String theFqcn, Level aLevel, Message msg, java.lang.Throwable aThrowable, ThreadContext.ContextStack aContextStack, java.lang.StackTraceElement aLocation, Clock aClock, NanoClock aNanoClock)voidRingBufferLogEvent. setValues(AsyncLogger anAsyncLogger, java.lang.String aLoggerName, Marker aMarker, java.lang.String theFqcn, Level aLevel, Message msg, java.lang.Throwable aThrowable, StringMap mutableContextData, ThreadContext.ContextStack aContextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.StackTraceElement aLocation, Clock clock, NanoClock nanoClock) -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl declared as ThreadContext.ContextStack Modifier and Type Field Description private ThreadContext.ContextStackLog4jLogEvent.Builder. contextStackprivate ThreadContext.ContextStackLog4jLogEvent. contextStackprivate ThreadContext.ContextStackLog4jLogEvent.LogEventProxy. contextStackprivate ThreadContext.ContextStackMutableLogEvent. contextStackMethods in org.apache.logging.log4j.core.impl that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackLog4jLogEvent. getContextStack()Returns an immutable copy of the ThreadContext stack.ThreadContext.ContextStackMutableLogEvent. getContextStack()Methods in org.apache.logging.log4j.core.impl with parameters of type ThreadContext.ContextStack Modifier and Type Method Description static Log4jLogEventLog4jLogEvent. createEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable thrown, ThrowableProxy thrownProxy, java.util.Map<java.lang.String,java.lang.String> mdc, ThreadContext.ContextStack ndc, java.lang.String threadName, java.lang.StackTraceElement location, long timestamp)Deprecated.useLog4jLogEvent.Builderinstead.Log4jLogEvent.BuilderLog4jLogEvent.Builder. setContextStack(ThreadContext.ContextStack contextStack)voidMutableLogEvent. setContextStack(ThreadContext.ContextStack contextStack)Constructors in org.apache.logging.log4j.core.impl with parameters of type ThreadContext.ContextStack Constructor Description Log4jLogEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable t, java.util.Map<java.lang.String,java.lang.String> mdc, ThreadContext.ContextStack ndc, java.lang.String threadName, java.lang.StackTraceElement location, long timestampMillis)Deprecated.useLog4jLogEvent.Builderinstead.Log4jLogEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.StackTraceElement source, long nanoTime)Log4jLogEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.StackTraceElement source, long timestampMillis, int nanoOfMillisecond, long nanoTime)Constructor.Log4jLogEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.StackTraceElement source, Clock clock, long nanoTime) -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return ThreadContext.ContextStack Modifier and Type Method Description abstract ThreadContext.ContextStackLogEventJsonMixIn. getContextStack()abstract ThreadContext.ContextStackLogEventWithContextListMixIn. getContextStack() -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackAbstractJacksonLayout.ReadOnlyLogEventWrapper. getContextStack() -
Uses of ThreadContext.ContextStack in org.apache.logging.log4j.spi
Subinterfaces of ThreadContext.ContextStack in org.apache.logging.log4j.spi Modifier and Type Interface Description interfaceThreadContextStackService provider interface to implement custom NDC behavior forThreadContext.Classes in org.apache.logging.log4j.spi that implement ThreadContext.ContextStack Modifier and Type Class Description classDefaultThreadContextStackA 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.classMutableThreadContextStackTODOMethods in org.apache.logging.log4j.spi that return ThreadContext.ContextStack Modifier and Type Method Description ThreadContext.ContextStackDefaultThreadContextStack. getImmutableStackOrNull()ThreadContext.ContextStackMutableThreadContextStack. getImmutableStackOrNull()
-