public final class ThreadContextAccess extends Object
Utility class to access package protected methods in ThreadContext
.
ThreadContext
Modifier and Type | Method and Description |
---|---|
static ThreadContextMap |
getThreadContextMap()
Returns the internal data structure used to store thread context key-value pairs.
|
static ThreadContextMap2 |
getThreadContextMap2()
Returns the internal data structure used to store thread context key-value pairs.
|
public static ThreadContextMap getThreadContextMap()
This method is intended for internal log4j2 usage. The returned data structure is not intended to be used directly by applications.
public static ThreadContextMap2 getThreadContextMap2()
This method is intended for internal log4j2 usage. The returned data structure is not intended to be used directly by applications.
Copyright © 1999-2016 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.