Uses of Interface
org.apache.logging.log4j.util.ReadOnlyStringMap
-
-
Uses of ReadOnlyStringMap in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement ReadOnlyStringMap Modifier and Type Class Description private static classLogEventWrapper.ContextDataMapMethods in org.apache.log4j.bridge that return ReadOnlyStringMap Modifier and Type Method Description ReadOnlyStringMapLogEventWrapper. getContextData() -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return ReadOnlyStringMap Modifier and Type Method Description ReadOnlyStringMapAbstractLogEvent. getContextData()ReadOnlyStringMapLogEvent. getContextData()Returns theReadOnlyStringMapobject holding context data key-value pairs.ReadOnlyStringMapContextDataInjector. rawContextData()Deprecated.Since 2.24.0 useContextDataInjector.getValue(java.lang.String)instead. -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async that return ReadOnlyStringMap Modifier and Type Method Description ReadOnlyStringMapRingBufferLogEvent. getContextData() -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.context.internal
Methods in org.apache.logging.log4j.core.context.internal with parameters of type ReadOnlyStringMap Modifier and Type Method Description protected StringMapGarbageFreeSortedArrayThreadContextMap. createStringMap(ReadOnlyStringMap original)Returns an implementation of theStringMapused to back this thread context map, pre-populated with the contents of the specified context data. -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.filter
Methods in org.apache.logging.log4j.core.filter with parameters of type ReadOnlyStringMap Modifier and Type Method Description protected booleanMapFilter. filter(ReadOnlyStringMap data) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement ReadOnlyStringMap Modifier and Type Class Description classJdkMapAdapterStringMapProvides a read-onlyStringMapview of aMap<String, String>.Methods in org.apache.logging.log4j.core.impl that return ReadOnlyStringMap Modifier and Type Method Description ReadOnlyStringMapLog4jLogEvent. getContextData()Returns theReadOnlyStringMapcontaining context data key-value pairs.ReadOnlyStringMapMutableLogEvent. getContextData()ReadOnlyStringMapThreadContextDataInjector.ForCopyOnWriteThreadContextMap. rawContextData()ReadOnlyStringMapThreadContextDataInjector.ForDefaultThreadContextMap. rawContextData()ReadOnlyStringMapThreadContextDataInjector.ForGarbageFreeThreadContextMap. rawContextData()Methods in org.apache.logging.log4j.core.impl with parameters of type ReadOnlyStringMap Modifier and Type Method Description static StringMapContextDataFactory. createContextData(ReadOnlyStringMap readOnlyStringMap)private static StringMapLog4jLogEvent.LogEventProxy. memento(ReadOnlyStringMap data)voidJdkMapAdapterStringMap. putAll(ReadOnlyStringMap source) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return ReadOnlyStringMap Modifier and Type Method Description abstract ReadOnlyStringMapLogEventMixIn. getContextData()Methods in org.apache.logging.log4j.core.jackson with parameters of type ReadOnlyStringMap Modifier and Type Method Description voidContextDataAsEntryListSerializer. serialize(ReadOnlyStringMap contextData, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)voidContextDataSerializer. 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 Modifier and Type Method Description ReadOnlyStringMapAbstractJacksonLayout.ReadOnlyLogEventWrapper. getContextData() -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type ReadOnlyStringMap Modifier and Type Method Description private static voidMdcPatternConverter. appendFully(ReadOnlyStringMap contextData, java.lang.StringBuilder toAppendTo)private static voidMdcPatternConverter. appendSelectedKeys(java.lang.String[] keys, ReadOnlyStringMap contextData, java.lang.StringBuilder sb) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.internal.map
Classes in org.apache.logging.log4j.internal.map that implement ReadOnlyStringMap Modifier and Type Class Description classUnmodifiableArrayBackedMapThis class represents an immutable map, which stores its state inside a single Object[]: [0] contains the number of entries Others contain alternating key-value pairs, for example [1]="1" and [2]="value_for_1" Keys are calculated using (index * 2 + 1) and values are (index * 2 + 2). -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.layout.template.json.resolver
Methods in org.apache.logging.log4j.layout.template.json.resolver that return ReadOnlyStringMap Modifier and Type Method Description private static ReadOnlyStringMapMapResolver. toMap(LogEvent logEvent)Method parameters in org.apache.logging.log4j.layout.template.json.resolver with type arguments of type ReadOnlyStringMap Modifier and Type Method Description private static EventResolverReadOnlyStringMapResolver. createKeyResolver(java.lang.String key, boolean stringified, java.util.function.Function<LogEvent,ReadOnlyStringMap> mapAccessor)private static EventResolverReadOnlyStringMapResolver. createResolver(boolean flatten, Recycler<ReadOnlyStringMapResolver.LoopContext> loopContextRecycler, java.util.function.Function<LogEvent,ReadOnlyStringMap> mapAccessor)private static EventResolverReadOnlyStringMapResolver. createResolver(EventResolverContext context, TemplateResolverConfig config, java.util.function.Function<LogEvent,ReadOnlyStringMap> mapAccessor)private static EventResolverReadOnlyStringMapResolver. createResolver(RecyclerFactory recyclerFactory, boolean flatten, java.lang.String prefix, java.lang.String pattern, java.lang.String replacement, boolean stringified, java.util.function.Function<LogEvent,ReadOnlyStringMap> mapAccessor)Constructor parameters in org.apache.logging.log4j.layout.template.json.resolver with type arguments of type ReadOnlyStringMap Constructor Description ReadOnlyStringMapResolver(EventResolverContext context, TemplateResolverConfig config, java.util.function.Function<LogEvent,ReadOnlyStringMap> mapAccessor) -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.spi
Classes in org.apache.logging.log4j.spi that implement ReadOnlyStringMap Modifier and Type Class Description classDefaultThreadContextMapThe default implementation ofThreadContextMap -
Uses of ReadOnlyStringMap in org.apache.logging.log4j.util
Subinterfaces of ReadOnlyStringMap in org.apache.logging.log4j.util Modifier and Type Interface Description interfaceIndexedReadOnlyStringMapAn extension ofReadOnlyStringMapthat imposes a total ordering on its keys.interfaceIndexedStringMapAn extension ofStringMapthat imposes a total ordering on its keys.interfaceStringMapExposes methods to add and remove key-value pairs to and fromReadOnlyStringMap.Classes in org.apache.logging.log4j.util that implement ReadOnlyStringMap Modifier and Type Class Description classSortedArrayStringMapConsider this class private. Array-based implementation of theReadOnlyStringMapinterface.Methods in org.apache.logging.log4j.util with parameters of type ReadOnlyStringMap Modifier and Type Method Description voidSortedArrayStringMap. putAll(ReadOnlyStringMap source)voidStringMap. putAll(ReadOnlyStringMap source)Copies all key-value pairs from the specifiedReadOnlyStringMapinto thisStringMap.Constructors in org.apache.logging.log4j.util with parameters of type ReadOnlyStringMap Constructor Description SortedArrayStringMap(ReadOnlyStringMap other)
-