Package liquibase.logging.mdc
Interface MdcManager
- All Superinterfaces:
 Plugin
- All Known Implementing Classes:
 NoOpMdcManager
- 
Field Summary
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED - 
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the MDC.getAll()intPuts a context value (thevalueparameter) as identified with thekeyparameter into the MDC.Puts a context value (thevalueparameter) as identified with thekeyparameter into the MDC.put(String key, List<? extends CustomMdcObject> values) Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC.Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC.Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC.put(String key, CustomMdcObject customMdcObject) Puts a context value (thecustomMdcObjectparameter) as identified with thekeyparameter into the MDC.put(String key, CustomMdcObject customMdcObject, boolean removeWhenScopeExits) Puts a context value (thecustomMdcObjectparameter) as identified with thekeyparameter into the MDC.voidRemoves the context value identified by thekeyparameter. 
- 
Method Details
- 
put
Puts a context value (thevalueparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time. - 
put
Puts a context value (thevalueparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.- Parameters:
 removeWhenScopeExits- if true, this key value pair will be automatically removed from the MDC when this scope exits. If there is not a demonstrable reason for setting this parameter to false then it should be set to true.
 - 
put
Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time. - 
put
Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.- Parameters:
 removeWhenScopeExits- if true, this key value pair will be automatically removed from the MDC when this scope exits. If there is not a demonstrable reason for setting this parameter to false then it should be set to true.
 - 
put
Puts a context value (thevaluesparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time. - 
put
Puts a context value (thecustomMdcObjectparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time. - 
put
Puts a context value (thecustomMdcObjectparameter) as identified with thekeyparameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.- Parameters:
 removeWhenScopeExits- if true, this key value pair will be automatically removed from the MDC when this scope exits. If there is not a demonstrable reason for setting this parameter to false then it should be set to true.
 - 
remove
Removes the context value identified by thekeyparameter. - 
clear
Clear the MDC. - 
getPriority
 - 
getAll
 
 -