Uses of Interface
org.apache.logging.log4j.util.StringMap
Packages that use StringMap
Package
Description
-
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 aStringMapobject 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 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 StringMapMethods in org.apache.logging.log4j.core.async that return StringMapModifier and TypeMethodDescriptionprivate static StringMapAsyncLogger.getContextData(RingBufferLogEvent event) Methods in org.apache.logging.log4j.core.async with parameters of type StringMapModifier and TypeMethodDescription(package private) voidRingBufferLogEvent.setContextData(StringMap contextData) voidRingBufferLogEvent.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.context.internal
Fields in org.apache.logging.log4j.core.context.internal with type parameters of type StringMapModifier and TypeFieldDescriptionprotected final ThreadLocal<StringMap> GarbageFreeSortedArrayThreadContextMap.localMapMethods in org.apache.logging.log4j.core.context.internal that return StringMapModifier and TypeMethodDescriptionprotected 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.GarbageFreeSortedArrayThreadContextMap.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 StringMapModifier and TypeClassDescriptionclassProvides a read-onlyStringMapview of aMap<String, String>.Fields in org.apache.logging.log4j.core.impl declared as StringMapModifier and TypeFieldDescriptionprivate StringMapLog4jLogEvent.Builder.contextDataprivate final StringMapLog4jLogEvent.contextDataprivate final StringMapLog4jLogEvent.LogEventProxy.contextDataprivate StringMapMutableLogEvent.contextDataprivate static final StringMapContextDataFactory.EMPTY_STRING_MAPFields in org.apache.logging.log4j.core.impl with type parameters of type StringMapModifier and TypeFieldDescriptionContextDataFactory.CACHED_CLASSprivate static final 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 final Constructor<? extends StringMap> ContextDataFactory.INITIAL_CAPACITY_CONSTRUCTORMethods in org.apache.logging.log4j.core.impl that return StringMapModifier and TypeMethodDescriptionstatic StringMapContextDataFactory.createContextData()static StringMapContextDataFactory.createContextData(int initialCapacity) static StringMapContextDataFactory.createContextData(Map<String, String> context) static StringMapContextDataFactory.createContextData(ReadOnlyStringMap readOnlyStringMap) private static StringMapLog4jLogEvent.createContextData(List<Property> properties) private static StringMapLog4jLogEvent.createContextData(Map<String, String> contextMap) static StringMapContextDataFactory.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 ignore) 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 StringMapLog4jLogEvent.LogEventProxy.memento(ReadOnlyStringMap data) ThreadContextDataProvider.supplyStringMap()Methods in org.apache.logging.log4j.core.impl that return types with arguments of type StringMapModifier and TypeMethodDescriptionContextDataFactory.createCachedClass(String className) private static Constructor<? extends StringMap> ContextDataFactory.createDefaultConstructor(Class<? extends StringMap> cachedClass) private static Constructor<? extends StringMap> ContextDataFactory.createInitialCapacityConstructor(Class<? extends StringMap> cachedClass) Methods in org.apache.logging.log4j.core.impl with parameters of type StringMapModifier and TypeMethodDescriptionstatic voidThreadContextDataInjector.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 ignore) 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) voidMutableLogEvent.setContextData(StringMap mutableContextData) Method parameters in org.apache.logging.log4j.core.impl with type arguments of type StringMapModifier and TypeMethodDescriptionprivate static Constructor<? extends StringMap> ContextDataFactory.createDefaultConstructor(Class<? extends StringMap> cachedClass) private static Constructor<? extends StringMap> ContextDataFactory.createInitialCapacityConstructor(Class<? extends StringMap> cachedClass) Constructors in org.apache.logging.log4j.core.impl with parameters of type StringMapModifierConstructorDescriptionprivateLog4jLogEvent(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, long nanoTime) privateLog4jLogEvent(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, long timestampMillis, int nanoOfMillisecond, long nanoTime) Constructor.privateLog4jLogEvent(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, 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
Subclasses with type arguments of type StringMap in org.apache.logging.log4j.core.jacksonModifier and TypeClassDescriptionclassConsider this class private.classConsider this class private.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 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 -
Uses of StringMap in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return StringMapModifier and TypeMethodDescriptionReadOnlyThreadContextMap.getReadOnlyContextData()Returns the context data for reading.ThreadContextMap2.getReadOnlyContextData()Returns the context data for reading. -
Uses of StringMap in org.apache.logging.log4j.util
Subinterfaces of StringMap in org.apache.logging.log4j.utilModifier and TypeInterfaceDescriptioninterfaceAn extension ofStringMapthat imposes a total ordering on its keys.Classes in org.apache.logging.log4j.util that implement StringMapModifier and TypeClassDescriptionclassConsider this class private. Array-based implementation of theReadOnlyStringMapinterface.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