public class TestMDCAdapter extends Object implements MDCAdapter
| Constructor and Description |
|---|
TestMDCAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
get(String key) |
ImmutableMap<String,String> |
getCopyOfContextMap() |
void |
put(String key,
String val) |
void |
remove(String key) |
void |
setContextMap(Map contextMap) |
public void put(String key, String val)
put in interface MDCAdapterpublic String get(String key)
get in interface MDCAdapterpublic void remove(String key)
remove in interface MDCAdapterpublic void clear()
clear in interface MDCAdapterpublic ImmutableMap<String,String> getCopyOfContextMap()
getCopyOfContextMap in interface MDCAdapterpublic void setContextMap(Map contextMap)
setContextMap in interface MDCAdapterCopyright © 2013. All Rights Reserved.