Class MDC
java.lang.Object
org.jboss.logmanager.MDC
Mapped diagnostic context. This is a thread-local map used to hold loggable information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()Clear the current MDC map.copy()Get a copy of the MDC map.Get a copy of the MDC map.(package private) static FastCopyHashMap<String, String> fastCopy()(package private) static FastCopyHashMap<String, Object> static StringGet the value for a key, ornullif there is no mapping.static ObjectGet the value for a key, ornullif there is no mapping.static StringSet the value of a key, returning the old value (if any) ornullif there was none.static ObjectSet the value of a key, returning the old value (if any) ornullif there was none.static StringRemove a key.static ObjectremoveObject(String key) Remove a key.
-
Field Details
-
mdc
-
-
Constructor Details
-
MDC
private MDC()
-
-
Method Details
-
get
-
getObject
-
put
-
putObject
-
remove
-
removeObject
-
copy
-
fastCopy
-
copyObject
-
fastCopyObject
-
clear
public static void clear()Clear the current MDC map.
-