Top Description Constructors Methods
liquibase.logging.mdc

public Class NoOpMdcManager

extends Object
implements MdcManager
Class Inheritance
All Implemented Interfaces
liquibase.logging.mdc.MdcManager, liquibase.plugin.Plugin
Imports
liquibase.plugin.Plugin, java.util.Collections, .Map

Default MDC manager, which does nothing.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
clear()

Implements liquibase.logging.mdc.MdcManager.clear.

Clear the MDC.

public Map<String, Object>
public int
public MdcObject
put(String key, String value)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the value parameter) as identified with the key parameter into the MDC.

public MdcObject
put(String key, String value, boolean
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.
removeWhenScopeExits
)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the value parameter) as identified with the key parameter into the MDC.

public MdcObject
put(String key, Map<String, Object> values)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the values parameter) as identified with the key parameter into the MDC.

public MdcObject
put(String key, Map<String, Object> values, boolean
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.
removeWhenScopeExits
)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the values parameter) as identified with the key parameter into the MDC.

public MdcObject
put(String key, CustomMdcObject customMdcObject)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the customMdcObject parameter) as identified with the key parameter into the MDC.

public MdcObject
put(String key, CustomMdcObject customMdcObject, boolean
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.
removeWhenScopeExits
)

Implements liquibase.logging.mdc.MdcManager.put.

Puts a context value (the customMdcObject parameter) as identified with the key parameter into the MDC.

public void
remove(String key)

Implements liquibase.logging.mdc.MdcManager.remove.

Removes the context value identified by the key parameter.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NoOpMdcManagerback to summary
public NoOpMdcManager()

Method Detail

clearback to summary
public void clear()

Implements liquibase.logging.mdc.MdcManager.clear.

Doc from liquibase.logging.mdc.MdcManager.clear.

Clear the MDC.

Annotations
@Override
getAllback to summary
public Map<String, Object> getAll()

Implements liquibase.logging.mdc.MdcManager.getAll.

Annotations
@Override
getPriorityback to summary
public int getPriority()

Implements liquibase.logging.mdc.MdcManager.getPriority.

Annotations
@Override
putback to summary
public MdcObject put(String key, String value)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the value parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Annotations
@Override
putback to summary
public MdcObject put(String key, String value, boolean removeWhenScopeExits)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the value parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Parameters
removeWhenScopeExits:boolean

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.

Annotations
@Override
putback to summary
public MdcObject put(String key, Map<String, Object> values)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the values parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Annotations
@Override
putback to summary
public MdcObject put(String key, Map<String, Object> values, boolean removeWhenScopeExits)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the values parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Parameters
removeWhenScopeExits:boolean

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.

Annotations
@Override
putback to summary
public MdcObject put(String key, CustomMdcObject customMdcObject)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the customMdcObject parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Annotations
@Override
putback to summary
public MdcObject put(String key, CustomMdcObject customMdcObject, boolean removeWhenScopeExits)

Implements liquibase.logging.mdc.MdcManager.put.

Doc from liquibase.logging.mdc.MdcManager.put.

Puts a context value (the customMdcObject parameter) as identified with the key parameter into the MDC. The caller is responsible for cleaning up this entry at an appropriate time.

Parameters
removeWhenScopeExits:boolean

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.

Annotations
@Override
removeback to summary
public void remove(String key)

Implements liquibase.logging.mdc.MdcManager.remove.

Doc from liquibase.logging.mdc.MdcManager.remove.

Removes the context value identified by the key parameter.

Annotations
@Override