Top Description Methods
org.apache.logging.log4j.spi

public Interface CleanableThreadContextMap

extends ThreadContextMap2
Known Direct Subinterfaces
org.apache.logging.log4j.spi.ObjectThreadContextMap

Extension service provider interface to implement additional custom MDC behavior for org.apache.logging.log4j.ThreadContext.
Since
2.8
See Also
ThreadContextMap

Method Summary

Modifier and TypeMethod and Description
public void
removeAll(final Iterable<String>
The keys.
keys
)

Removes all given context map keys from the current thread's context map.

Inherited from org.apache.logging.log4j.spi.ThreadContextMap2:
getReadOnlyContextDataputAll

Method Detail

removeAllback to summary
public void removeAll(final 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:Iterable<String>

The keys.

Since
2.8