Package org.slf4j.reload4j
Class Reload4jMDCAdapter
java.lang.Object
org.slf4j.reload4j.Reload4jMDCAdapter
- All Implemented Interfaces:
MDCAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclearDequeByKey(String key) voidvoidPut a context value (thevalparameter) as identified with thekeyparameter into the current thread's context map.voidvoidsetContextMap(Map<String, String> contextMap)
-
Constructor Details
-
Reload4jMDCAdapter
public Reload4jMDCAdapter()
-
-
Method Details
-
clear
- Specified by:
clearin interfaceMDCAdapter
-
get
- Specified by:
getin interfaceMDCAdapter
-
put
Put a context value (thevalparameter) as identified with thekeyparameter into the current thread's context map. Thekeyparameter cannot be null. Log4j does not support null for thevalparameter.This method delegates all work to log4j's MDC.
- Specified by:
putin interfaceMDCAdapter- Throws:
IllegalArgumentException- in case the "key" or "val" parameter is null
-
remove
- Specified by:
removein interfaceMDCAdapter
-
getCopyOfContextMap
- Specified by:
getCopyOfContextMapin interfaceMDCAdapter
-
setContextMap
- Specified by:
setContextMapin interfaceMDCAdapter
-
pushByKey
- Specified by:
pushByKeyin interfaceMDCAdapter
-
popByKey
- Specified by:
popByKeyin interfaceMDCAdapter
-
getCopyOfDequeByKey
- Specified by:
getCopyOfDequeByKeyin interfaceMDCAdapter
-
clearDequeByKey
- Specified by:
clearDequeByKeyin interfaceMDCAdapter
-