public interface ObjectThreadContextMap extends CleanableThreadContextMap
ThreadContext
.ThreadContextMap
Modifier and Type | Method and Description |
---|---|
<V> V |
getValue(java.lang.String key)
Returns the Object value for the specified key, or
null if the specified key does not exist in this
collection. |
<V> void |
putAllValues(java.util.Map<java.lang.String,V> values)
Puts all given key-value pairs into the collection.
|
<V> void |
putValue(java.lang.String key,
V value)
Puts the specified key-value pair into the collection.
|
removeAll
getReadOnlyContextData, putAll
clear, containsKey, get, getCopy, getImmutableMapOrNull, isEmpty, put, remove
<V> V getValue(java.lang.String key)
null
if the specified key does not exist in this
collection.key
- the key whose value to returnnull
<V> void putValue(java.lang.String key, V value)
key
- the key to add or remove. Keys may be null
.value
- the value to add. Values may be null
.<V> void putAllValues(java.util.Map<java.lang.String,V> values)
values
- the map of key-value pairs to add