Interface CleanableThreadContextMap

All Superinterfaces:
ThreadContextMap, ThreadContextMap2
All Known Subinterfaces:
ObjectThreadContextMap

public interface CleanableThreadContextMap extends ThreadContextMap2
Extension service provider interface to implement additional custom MDC behavior for ThreadContext.
Since:
2.8
See Also:
  • Method Details

    • removeAll

      void removeAll(Iterable<String> keys)
      Removes all given context map keys from the current thread's context map.

      If the current thread does not have a context map it is created as a side effect.

      Parameters:
      keys - The keys.
      Since:
      2.8