Class NoOpMdcManager

    • Constructor Detail

      • NoOpMdcManager

        public NoOpMdcManager()
    • Method Detail

      • put

        public MdcObject put​(String key,
                             String value)
        Description copied from interface: MdcManager
        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.
        Specified by:
        put in interface MdcManager
      • put

        public MdcObject put​(String key,
                             Map<String,​Object> values)
        Description copied from interface: MdcManager
        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.
        Specified by:
        put in interface MdcManager
      • put

        public MdcObject put​(String key,
                             CustomMdcObject customMdcObject)
        Description copied from interface: MdcManager
        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.
        Specified by:
        put in interface MdcManager
      • remove

        public void remove​(String key)
        Description copied from interface: MdcManager
        Removes the context value identified by the key parameter.
        Specified by:
        remove in interface MdcManager
      • clear

        public void clear()
        Description copied from interface: MdcManager
        Clear the MDC.
        Specified by:
        clear in interface MdcManager