Uses of Interface
org.apache.logging.log4j.util.StringMap
-
-
Uses of StringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return StringMap Modifier and Type Method Description StringMapContextDataInjector. injectContextData(java.util.List<Property> properties, StringMap reusable)Returns aStringMapobject initialized with the specified properties and the appropriate context data.Methods in org.apache.logging.log4j.core with parameters of type StringMap Modifier and Type Method Description StringMapContextDataInjector. injectContextData(java.util.List<Property> properties, StringMap reusable)Returns aStringMapobject 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 StringMap Modifier and Type Field Description private StringMapRingBufferLogEvent. contextDataMethods in org.apache.logging.log4j.core.async that return StringMap Modifier and Type Method Description private static StringMapAsyncLogger. getContextData(RingBufferLogEvent event)Methods in org.apache.logging.log4j.core.async with parameters of type StringMap Modifier and Type Method Description (package private) voidRingBufferLogEvent. setContextData(StringMap contextData)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 StringMap in org.apache.logging.log4j.core.context.internal
Fields in org.apache.logging.log4j.core.context.internal with type parameters of type StringMap Modifier and Type Field Description protected java.lang.ThreadLocal<StringMap>GarbageFreeSortedArrayThreadContextMap. localMapMethods in org.apache.logging.log4j.core.context.internal that return StringMap Modifier and Type Method Description protected StringMapGarbageFreeSortedArrayThreadContextMap. createStringMap()Returns an implementation of theStringMapused to back this thread context map.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.StringMapGarbageFreeSortedArrayThreadContextMap. getReadOnlyContextData()Returns the context data for reading.private StringMapGarbageFreeSortedArrayThreadContextMap. getThreadLocalMap() -
Uses of StringMap in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement StringMap Modifier and Type Class Description classJdkMapAdapterStringMapProvides a read-onlyStringMapview of aMap<String, String>.Fields in org.apache.logging.log4j.core.impl declared as StringMap Modifier and Type Field Description private StringMapLog4jLogEvent.Builder. contextDataprivate StringMapLog4jLogEvent. contextDataprivate StringMapLog4jLogEvent.LogEventProxy. contextDataprivate StringMapMutableLogEvent. contextDataprivate static StringMapContextDataFactory. EMPTY_STRING_MAPFields in org.apache.logging.log4j.core.impl with type parameters of type StringMap Modifier and Type Field Description private static java.lang.Class<? extends StringMap>ContextDataFactory. CACHED_CLASSprivate static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. DEFAULT_CONSTRUCTORIn LOG4J2-2649 (https://issues.apache.org/jira/browse/LOG4J2-2649), the reporter said some reason about using graalvm to static compile.private static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. INITIAL_CAPACITY_CONSTRUCTORMethods in org.apache.logging.log4j.core.impl that return StringMap Modifier and Type Method Description static StringMapContextDataFactory. createContextData()static StringMapContextDataFactory. createContextData(int initialCapacity)static StringMapContextDataFactory. createContextData(java.util.Map<java.lang.String,java.lang.String> context)static StringMapContextDataFactory. createContextData(ReadOnlyStringMap readOnlyStringMap)private static StringMapLog4jLogEvent. createContextData(java.util.List<Property> properties)private static StringMapLog4jLogEvent. createContextData(java.util.Map<java.lang.String,java.lang.String> contextMap)static StringMapContextDataFactory. emptyFrozenContextData()An empty pre-frozen IndexedStringMap.StringMapThreadContextDataInjector.ForCopyOnWriteThreadContextMap. injectContextData(java.util.List<Property> props, StringMap ignore)If there are no configuration properties, this injector will return the thread context's internal data structure.StringMapThreadContextDataInjector.ForDefaultThreadContextMap. injectContextData(java.util.List<Property> props, StringMap ignore)Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.StringMapThreadContextDataInjector.ForGarbageFreeThreadContextMap. injectContextData(java.util.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 StringMapLog4jLogEvent.LogEventProxy. memento(ReadOnlyStringMap data)StringMapThreadContextDataProvider. supplyStringMap()Methods in org.apache.logging.log4j.core.impl that return types with arguments of type StringMap Modifier and Type Method Description private static java.lang.Class<? extends StringMap>ContextDataFactory. createCachedClass(java.lang.String className)private static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. createDefaultConstructor(java.lang.Class<? extends StringMap> cachedClass)private static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. createInitialCapacityConstructor(java.lang.Class<? extends StringMap> cachedClass)Methods in org.apache.logging.log4j.core.impl with parameters of type StringMap Modifier and Type Method Description static voidThreadContextDataInjector. copyProperties(java.util.List<Property> properties, StringMap result)Copies key-value pairs from the specified property list into the specifiedStringMap.StringMapThreadContextDataInjector.ForCopyOnWriteThreadContextMap. injectContextData(java.util.List<Property> props, StringMap ignore)If there are no configuration properties, this injector will return the thread context's internal data structure.StringMapThreadContextDataInjector.ForDefaultThreadContextMap. injectContextData(java.util.List<Property> props, StringMap ignore)Puts key-value pairs from both the specified list of properties as well as the thread context into the specified reusable StringMap.StringMapThreadContextDataInjector.ForGarbageFreeThreadContextMap. injectContextData(java.util.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.BuilderLog4jLogEvent.Builder. setContextData(StringMap contextData)voidMutableLogEvent. setContextData(StringMap mutableContextData)Method parameters in org.apache.logging.log4j.core.impl with type arguments of type StringMap Modifier and Type Method Description private static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. createDefaultConstructor(java.lang.Class<? extends StringMap> cachedClass)private static java.lang.reflect.Constructor<? extends StringMap>ContextDataFactory. createInitialCapacityConstructor(java.lang.Class<? extends StringMap> cachedClass)Constructors in org.apache.logging.log4j.core.impl with parameters of type StringMap Constructor Description Log4jLogEvent(java.lang.String loggerName, Marker marker, java.lang.String loggerFQCN, Level level, Message message, java.lang.Throwable thrown, 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, 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, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.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 StringMap Modifier and Type Method Description StringMapContextDataAsEntryListDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)StringMapContextDataDeserializer. 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 StringMap Modifier and Type Method Description default StringMapContextDataProvider. 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 Modifier and Type Method Description voidJsonWriter. writeObject(StringMap map) -
Uses of StringMap in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return StringMap Modifier and Type Method Description StringMapReadOnlyThreadContextMap. getReadOnlyContextData()Returns the context data for reading.StringMapThreadContextMap2. getReadOnlyContextData()Returns the context data for reading. -
Uses of StringMap in org.apache.logging.log4j.util
Subinterfaces of StringMap in org.apache.logging.log4j.util Modifier and Type Interface Description interfaceIndexedStringMapAn extension ofStringMapthat imposes a total ordering on its keys.Classes in org.apache.logging.log4j.util that implement StringMap Modifier and Type Class Description classSortedArrayStringMapConsider this class private. Array-based implementation of theReadOnlyStringMapinterface.Fields in org.apache.logging.log4j.util with type parameters of type StringMap Modifier and Type Field Description private static TriConsumer<java.lang.String,java.lang.Object,StringMap>SortedArrayStringMap. PUT_ALL -
Uses of StringMap in org.apache.logging.slf4j
Fields in org.apache.logging.slf4j declared as StringMap Modifier and Type Field Description private static StringMapMDCContextMap. EMPTY_CONTEXT_DATAMethods in org.apache.logging.slf4j that return StringMap Modifier and Type Method Description StringMapMDCContextMap. getReadOnlyContextData()
-