Uses of Interface
org.apache.logging.log4j.util.ReadOnlyStringMap
Packages that use ReadOnlyStringMap
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 Filter support.
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 Layout support.
Log4j 2 Lookups.
Provides classes implementing format specifiers in conversion patterns.
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.
-
Uses of ReadOnlyStringMap in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement ReadOnlyStringMapMethods in org.apache.log4j.bridge that return ReadOnlyStringMap -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return ReadOnlyStringMapModifier and TypeMethodDescriptionAbstractLogEvent.getContextData()
LogEvent.getContextData()
Returns theReadOnlyStringMap
object holding context data key-value pairs.ContextDataInjector.rawContextData()
Returns aReadOnlyStringMap
object reflecting the current state of the context. -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async that return ReadOnlyStringMap -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.filter
Methods in org.apache.logging.log4j.core.filter that return ReadOnlyStringMapModifier and TypeMethodDescriptionprivate ReadOnlyStringMap
DynamicThresholdFilter.currentContextData()
private ReadOnlyStringMap
ThreadContextMapFilter.currentContextData()
Methods in org.apache.logging.log4j.core.filter with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionprivate Filter.Result
DynamicThresholdFilter.filter
(Level level, ReadOnlyStringMap contextMap) protected boolean
MapFilter.filter
(ReadOnlyStringMap data) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement ReadOnlyStringMapModifier and TypeClassDescriptionclass
Provides a read-onlyStringMap
view of aMap<String, String>
.Methods in org.apache.logging.log4j.core.impl that return ReadOnlyStringMapModifier and TypeMethodDescriptionLog4jLogEvent.getContextData()
Returns theReadOnlyStringMap
containing context data key-value pairs.MutableLogEvent.getContextData()
ThreadContextDataInjector.ForCopyOnWriteThreadContextMap.rawContextData()
ThreadContextDataInjector.ForDefaultThreadContextMap.rawContextData()
ThreadContextDataInjector.ForGarbageFreeThreadContextMap.rawContextData()
Methods in org.apache.logging.log4j.core.impl with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionstatic StringMap
ContextDataFactory.createContextData
(ReadOnlyStringMap readOnlyStringMap) private static StringMap
Log4jLogEvent.LogEventProxy.memento
(ReadOnlyStringMap data) void
JdkMapAdapterStringMap.putAll
(ReadOnlyStringMap source) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return ReadOnlyStringMapModifier and TypeMethodDescriptionabstract ReadOnlyStringMap
LogEventJsonMixIn.getContextData()
abstract ReadOnlyStringMap
LogEventWithContextListMixIn.getContextData()
Methods in org.apache.logging.log4j.core.jackson with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionvoid
ContextDataAsEntryListSerializer.serialize
(ReadOnlyStringMap contextData, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) void
ContextDataSerializer.serialize
(ReadOnlyStringMap contextData, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return ReadOnlyStringMap -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.lookup
Methods in org.apache.logging.log4j.core.lookup that return ReadOnlyStringMapModifier and TypeMethodDescriptionprivate ReadOnlyStringMap
ContextMapLookup.currentContextData()
-
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionprivate static void
MdcPatternConverter.appendFully
(ReadOnlyStringMap contextData, StringBuilder toAppendTo) private static void
MdcPatternConverter.appendSelectedKeys
(String[] keys, ReadOnlyStringMap contextData, StringBuilder sb) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.layout.template.json.resolver
Methods in org.apache.logging.log4j.layout.template.json.resolver that return ReadOnlyStringMapMethod parameters in org.apache.logging.log4j.layout.template.json.resolver with type arguments of type ReadOnlyStringMapModifier and TypeMethodDescriptionprivate static EventResolver
ReadOnlyStringMapResolver.createKeyResolver
(String key, boolean stringified, Function<LogEvent, ReadOnlyStringMap> mapAccessor) private static EventResolver
ReadOnlyStringMapResolver.createResolver
(boolean flatten, Recycler<ReadOnlyStringMapResolver.LoopContext> loopContextRecycler, Function<LogEvent, ReadOnlyStringMap> mapAccessor) private static EventResolver
ReadOnlyStringMapResolver.createResolver
(EventResolverContext context, TemplateResolverConfig config, Function<LogEvent, ReadOnlyStringMap> mapAccessor) private static EventResolver
ReadOnlyStringMapResolver.createResolver
(RecyclerFactory recyclerFactory, boolean flatten, String prefix, String pattern, String replacement, boolean stringified, Function<LogEvent, ReadOnlyStringMap> mapAccessor) Constructor parameters in org.apache.logging.log4j.layout.template.json.resolver with type arguments of type ReadOnlyStringMapModifierConstructorDescription(package private)
ReadOnlyStringMapResolver
(EventResolverContext context, TemplateResolverConfig config, Function<LogEvent, ReadOnlyStringMap> mapAccessor) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.spi
Classes in org.apache.logging.log4j.spi that implement ReadOnlyStringMapMethods in org.apache.logging.log4j.spi with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionprotected 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
(ReadOnlyStringMap original) Returns an implementation of theStringMap
used to back this thread context map, pre-populated with the contents of the specified context data. -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.util
Subinterfaces of ReadOnlyStringMap in org.apache.logging.log4j.utilModifier and TypeInterfaceDescriptioninterface
An extension ofReadOnlyStringMap
that imposes a total ordering on its keys.interface
An extension ofStringMap
that imposes a total ordering on its keys.interface
Exposes methods to add and remove key-value pairs to and fromReadOnlyStringMap
.Classes in org.apache.logging.log4j.util that implement ReadOnlyStringMapModifier and TypeClassDescriptionclass
Consider this class private. Array-based implementation of theReadOnlyStringMap
interface.Methods in org.apache.logging.log4j.util with parameters of type ReadOnlyStringMapModifier and TypeMethodDescriptionvoid
SortedArrayStringMap.putAll
(ReadOnlyStringMap source) void
StringMap.putAll
(ReadOnlyStringMap source) Copies all key-value pairs from the specifiedReadOnlyStringMap
into thisStringMap
.Constructors in org.apache.logging.log4j.util with parameters of type ReadOnlyStringMap