Uses of Interface
org.apache.logging.log4j.util.StringMap
Packages that use StringMap
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson
library.
Log4j 2 helper classes.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
Internal utility classes for the Log4j 2 API.
SLF4J support.
-
Uses of StringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return StringMapModifier and TypeMethodDescriptionContextDataInjector.injectContextData
(List<Property> properties, StringMap reusable) Returns aStringMap
object initialized with the specified properties and the appropriate context data.Methods in org.apache.logging.log4j.core with parameters of type StringMapModifier and TypeMethodDescriptionContextDataInjector.injectContextData
(List<Property> properties, StringMap reusable) Returns aStringMap
object initialized with the specified properties and the appropriate context data. -
Uses of StringMap in org.apache.logging.log4j.core.async
Fields in org.apache.logging.log4j.core.async declared as StringMapMethods in org.apache.logging.log4j.core.async that return StringMapModifier and TypeMethodDescriptionprivate static StringMap
AsyncLogger.getContextData
(RingBufferLogEvent event) Methods in org.apache.logging.log4j.core.async with parameters of type StringMapModifier and TypeMethodDescription(package private) void
RingBufferLogEvent.setContextData
(StringMap contextData) void
RingBufferLogEvent.setValues
(AsyncLogger anAsyncLogger, String aLoggerName, Marker aMarker, String theFqcn, Level aLevel, Message msg, Throwable aThrowable, StringMap mutableContextData, ThreadContext.ContextStack aContextStack, long threadId, String threadName, int threadPriority, StackTraceElement aLocation, Clock clock, NanoClock nanoClock) -
Uses of StringMap in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement StringMapModifier and TypeClassDescriptionclass
Provides a read-onlyStringMap
view of aMap<String, String>
.Fields in org.apache.logging.log4j.core.impl declared as StringMapModifier and TypeFieldDescriptionprivate StringMap
Log4jLogEvent.Builder.contextData
private final StringMap
Log4jLogEvent.contextData
private final StringMap
Log4jLogEvent.LogEventProxy.contextData
private StringMap
MutableLogEvent.contextData
private static final StringMap
ContextDataFactory.EMPTY_STRING_MAP
Fields in org.apache.logging.log4j.core.impl with type parameters of type StringMapMethods in org.apache.logging.log4j.core.impl that return StringMapModifier and TypeMethodDescriptionstatic StringMap
ContextDataFactory.createContextData()
static StringMap
ContextDataFactory.createContextData
(int initialCapacity) static StringMap
ContextDataFactory.createContextData
(Map<String, String> context) static StringMap
ContextDataFactory.createContextData
(ReadOnlyStringMap readOnlyStringMap) private static StringMap
Log4jLogEvent.createContextData
(List<Property> properties) private static StringMap
Log4jLogEvent.createContextData
(Map<String, String> contextMap) static StringMap
ContextDataFactory.emptyFrozenContextData()
An empty pre-frozen IndexedStringMap.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData
(List<Property> props, StringMap ignore) If there are no configuration properties, this injector will return the thread context's internal data structure.ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData
(List<Property> props, StringMap contextData) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData
(List<Property> props, StringMap reusable) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.private static StringMap
Log4jLogEvent.LogEventProxy.memento
(ReadOnlyStringMap data) ThreadContextDataProvider.supplyStringMap()
Methods in org.apache.logging.log4j.core.impl that return types with arguments of type StringMapMethods in org.apache.logging.log4j.core.impl with parameters of type StringMapModifier and TypeMethodDescriptionstatic void
ThreadContextDataInjector.copyProperties
(List<Property> properties, StringMap result) Copies key-value pairs from the specified property list into the specifiedStringMap
.ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.injectContextData
(List<Property> props, StringMap ignore) If there are no configuration properties, this injector will return the thread context's internal data structure.ThreadContextDataInjector.ForDefaultThreadContextMap.injectContextData
(List<Property> props, StringMap contextData) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.ThreadContextDataInjector.ForGarbageFreeThreadContextMap.injectContextData
(List<Property> props, StringMap reusable) Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.Log4jLogEvent.Builder.setContextData
(StringMap contextData) void
MutableLogEvent.setContextData
(StringMap mutableContextData) Method parameters in org.apache.logging.log4j.core.impl with type arguments of type StringMapModifier and TypeMethodDescriptionprivate static Constructor
<?> ContextDataFactory.createDefaultConstructor
(Class<? extends StringMap> cachedClass) private static Constructor
<?> ContextDataFactory.createInitialCapacityConstructor
(Class<? extends StringMap> cachedClass) Constructors in org.apache.logging.log4j.core.impl with parameters of type StringMapModifierConstructorDescriptionprivate
Log4jLogEvent
(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, long nanoTime) private
Log4jLogEvent
(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, long timestampMillis, int nanoOfMillisecond, long nanoTime) Constructor.private
Log4jLogEvent
(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, Clock clock, long nanoTime) -
Uses of StringMap in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return StringMapModifier and TypeMethodDescriptionContextDataAsEntryListDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) ContextDataDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) -
Uses of StringMap in org.apache.logging.log4j.core.util
Methods in org.apache.logging.log4j.core.util that return StringMapModifier and TypeMethodDescriptiondefault StringMap
ContextDataProvider.supplyStringMap()
Returns the context data as a StringMap. -
Uses of StringMap in org.apache.logging.log4j.layout.template.json.util
Methods in org.apache.logging.log4j.layout.template.json.util with parameters of type StringMap -
Uses of StringMap in org.apache.logging.log4j.spi
Fields in org.apache.logging.log4j.spi declared as StringMapModifier and TypeFieldDescriptionprivate static final StringMap
CopyOnWriteSortedArrayThreadContextMap.EMPTY_CONTEXT_DATA
Fields in org.apache.logging.log4j.spi with type parameters of type StringMapModifier and TypeFieldDescriptionprivate final ThreadLocal
<StringMap> CopyOnWriteSortedArrayThreadContextMap.localMap
protected final ThreadLocal
<StringMap> GarbageFreeSortedArrayThreadContextMap.localMap
Methods in org.apache.logging.log4j.spi that return StringMapModifier and TypeMethodDescriptionprotected StringMap
CopyOnWriteSortedArrayThreadContextMap.createStringMap()
Returns an implementation of theStringMap
used to back this thread context map.protected StringMap
CopyOnWriteSortedArrayThreadContextMap.createStringMap
(ReadOnlyStringMap original) Returns an implementation of theStringMap
used to back this thread context map, pre-populated with the contents of the specified context data.protected StringMap
GarbageFreeSortedArrayThreadContextMap.createStringMap()
Returns an implementation of theStringMap
used to back this thread context map.protected StringMap
GarbageFreeSortedArrayThreadContextMap.createStringMap
(ReadOnlyStringMap original) Returns an implementation of theStringMap
used to back this thread context map, pre-populated with the contents of the specified context data.CopyOnWriteSortedArrayThreadContextMap.getReadOnlyContextData()
Returns the context data for reading.GarbageFreeSortedArrayThreadContextMap.getReadOnlyContextData()
Returns the context data for reading.ReadOnlyThreadContextMap.getReadOnlyContextData()
Returns the context data for reading.ThreadContextMap2.getReadOnlyContextData()
Returns the context data for reading.private StringMap
GarbageFreeSortedArrayThreadContextMap.getThreadLocalMap()
Methods in org.apache.logging.log4j.spi that return types with arguments of type StringMapModifier and TypeMethodDescriptionprivate ThreadLocal
<StringMap> CopyOnWriteSortedArrayThreadContextMap.createThreadLocalMap()
private ThreadLocal
<StringMap> GarbageFreeSortedArrayThreadContextMap.createThreadLocalMap()
-
Uses of StringMap in org.apache.logging.log4j.util
Subinterfaces of StringMap in org.apache.logging.log4j.utilModifier and TypeInterfaceDescriptioninterface
An extension ofStringMap
that imposes a total ordering on its keys.Classes in org.apache.logging.log4j.util that implement StringMapModifier and TypeClassDescriptionclass
Consider this class private. Array-based implementation of theReadOnlyStringMap
interface.Fields in org.apache.logging.log4j.util with type parameters of type StringMapModifier and TypeFieldDescriptionprivate static final TriConsumer
<String, Object, StringMap> SortedArrayStringMap.PUT_ALL
-
Uses of StringMap in org.apache.logging.slf4j
Fields in org.apache.logging.slf4j declared as StringMapMethods in org.apache.logging.slf4j that return StringMap