public class DefaultObjectStore<T> extends ConcurrentHashMap<String,T> implements ObjectStore<T>
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DefaultObjectStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String correlationKey,
T object)
Adds new object with correlation key.
|
T |
remove(String correlationKey)
Removes object with correlation key.
|
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, valuesclonepublic void add(String correlationKey, T object)
ObjectStoreadd in interface ObjectStore<T>public T remove(String correlationKey)
ObjectStoreremove in interface ObjectStore<T>Copyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.