Interface MdcManager

    • Method Detail

      • put

        @Beta
        MdcObject put​(String key,
                      String value)
        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.
      • put

        @Beta
        MdcObject put​(String key,
                      Map<String,​Object> values)
        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.
      • put

        @Beta
        MdcObject put​(String key,
                      CustomMdcObject customMdcObject)
        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.
      • remove

        @Beta
        void remove​(String key)
        Removes the context value identified by the key parameter.
      • clear

        @Beta
        void clear()
        Clear the MDC.
      • getPriority

        @Beta
        int getPriority()