Package org.apache.logging.log4j.spi
Interface CleanableThreadContextMap
- All Superinterfaces:
ThreadContextMap
,ThreadContextMap2
- All Known Subinterfaces:
ObjectThreadContextMap
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext
.- Since:
- 2.8
- See Also:
-
Method Summary
Methods inherited from interface org.apache.logging.log4j.spi.ThreadContextMap
clear, containsKey, get, getCopy, getImmutableMapOrNull, isEmpty, put, remove
Methods inherited from interface org.apache.logging.log4j.spi.ThreadContextMap2
getReadOnlyContextData, putAll
-
Method Details
-
removeAll
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
-