Uses of Interface
org.apache.logging.log4j.util.StringMap
-
Packages that use StringMap Package Description org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.spi Internal interfaces and classes to be used by authors of logging implementations or for internal use by API classes.org.apache.logging.log4j.util Internal utility classes for the Log4j 2 API.org.apache.logging.slf4j SLF4J support. -
-
Uses of StringMap in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return StringMap Modifier and Type Method Description StringMap
ContextDataInjector. 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 StringMap Modifier and Type Method Description StringMap
ContextDataInjector. 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
Methods in org.apache.logging.log4j.core.async with parameters of type StringMap Modifier and Type Method Description 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
Methods in org.apache.logging.log4j.core.impl that return StringMap Modifier and Type Method Description static StringMap
ContextDataFactory. createContextData()
static StringMap
ContextDataFactory. createContextData(int initialCapacity)
static StringMap
ContextDataFactory. createContextData(Map<String,String> context)
static StringMap
ContextDataFactory. createContextData(ReadOnlyStringMap readOnlyStringMap)
static StringMap
ContextDataFactory. emptyFrozenContextData()
An empty pre-frozen IndexedStringMap.StringMap
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.StringMap
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.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.Methods in org.apache.logging.log4j.core.impl with parameters of type StringMap Modifier and Type Method Description static void
ThreadContextDataInjector. copyProperties(List<Property> properties, StringMap result)
Copies key-value pairs from the specified property list into the specifiedStringMap
.StringMap
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.StringMap
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.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
Log4jLogEvent.Builder. setContextData(StringMap contextData)
void
MutableLogEvent. setContextData(StringMap mutableContextData)
-
Uses of StringMap in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi that return StringMap Modifier and Type Method Description StringMap
ReadOnlyThreadContextMap. getReadOnlyContextData()
Returns the context data for reading.StringMap
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.util Modifier and Type Interface Description interface
IndexedStringMap
An extension ofStringMap
that imposes a total ordering on its keys.Classes in org.apache.logging.log4j.util that implement StringMap Modifier and Type Class Description class
SortedArrayStringMap
Consider this class private. Array-based implementation of theReadOnlyStringMap
interface. -
Uses of StringMap in org.apache.logging.slf4j
Methods in org.apache.logging.slf4j that return StringMap Modifier and Type Method Description StringMap
MDCContextMap. getReadOnlyContextData()
-