Interface MDCProvider
public interface MDCProvider
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the current MDC map.copy()Get a copy of the MDC map.Get a copy of the MDC map.Get the value for a key, ornullif there is no mapping.Get the value for a key, ornullif there is no mapping.booleanisEmpty()Returnstrueif the backing MDC map is empty, otherwisefalse.Set the value of a key, returning the old value (if any) ornullif there was none.Set the value of a key, returning the old value (if any) ornullif there was none.Remove a key.removeObject(String key) Remove a key.
-
Method Details
-
get
-
getObject
-
put
-
putObject
-
remove
-
removeObject
-
copy
-
copyObject
-
isEmpty
boolean isEmpty()Returnstrueif the backing MDC map is empty, otherwisefalse.- Returns:
trueif the MDC map is empty
-
clear
void clear()Clear the current MDC map.
-