public interface ThreadContextMap2 extends ThreadContextMap
ThreadContext.
Consider implementing CleanableThreadContextMap instead.ThreadContextMap| Modifier and Type | Method and Description |
|---|---|
StringMap |
getReadOnlyContextData()
Returns the context data for reading.
|
void |
putAll(Map<String,String> map)
Puts all given context map entries into the current thread's
context map.
|
clear, containsKey, get, getCopy, getImmutableMapOrNull, isEmpty, put, removevoid putAll(Map<String,String> map)
If the current thread does not have a context map it is created as a side effect.
map - The map.StringMap getReadOnlyContextData()
StringMapCopyright © 1999-1969 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.