@Beta public interface MdcManager extends Plugin
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
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. |
@Beta MdcObject put(String key, String value)
value
parameter) as identified with the key
parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.@Beta MdcObject put(String key, Map<String,String> values)
values
parameter) as identified with the key
parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.@Beta MdcObject put(String key, CustomMdcObject customMdcObject)
customMdcObject
parameter) as identified with the key
parameter into
the MDC. The caller is responsible for cleaning up this entry at an appropriate time.@Beta void clear()
@Beta int getPriority()
Copyright © 2023 Liquibase.org. All rights reserved.