public class NoOpMdcManager extends Object implements MdcManager
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED| Constructor and Description |
|---|
NoOpMdcManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the MDC.
|
Map<String,Object> |
getAll() |
int |
getPriority() |
MdcObject |
put(String key,
CustomMdcObject customMdcObject)
Puts a context value (the
customMdcObject parameter) as identified with the key parameter into
the MDC. |
MdcObject |
put(String key,
Map<String,String> values)
Puts a context value (the
values parameter) as identified with the key parameter into
the MDC. |
MdcObject |
put(String key,
String value)
Puts a context value (the
value parameter) as identified with the key parameter into
the MDC. |
void |
remove(String key)
Removes the context value identified by the
key parameter. |
public MdcObject put(String key, String value)
MdcManagervalue parameter) as identified with the key parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.put in interface MdcManagerpublic MdcObject put(String key, Map<String,String> values)
MdcManagervalues parameter) as identified with the key parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.put in interface MdcManagerpublic MdcObject put(String key, CustomMdcObject customMdcObject)
MdcManagercustomMdcObject parameter) as identified with the key parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.put in interface MdcManagerpublic void remove(String key)
MdcManagerkey parameter.remove in interface MdcManagerpublic void clear()
MdcManagerclear in interface MdcManagerpublic int getPriority()
getPriority in interface MdcManagerpublic Map<String,Object> getAll()
getAll in interface MdcManagerCopyright © 2023 Liquibase.org. All rights reserved.