public class MemoryWebsocketStore extends ConcurrentHashMap<String,DefaultWebsocket> implements WebsocketStore
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MemoryWebsocketStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DefaultWebsocket ws) |
DefaultWebsocket |
get(String key) |
Collection<DefaultWebsocket> |
getAll() |
void |
remove(DefaultWebsocket ws) |
void |
remove(String key) |
void |
start() |
void |
stop() |
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(DefaultWebsocket ws)
add in interface WebsocketStorepublic void remove(DefaultWebsocket ws)
remove in interface WebsocketStorepublic void remove(String key)
remove in interface WebsocketStorepublic DefaultWebsocket get(String key)
get in interface WebsocketStorepublic Collection<DefaultWebsocket> getAll()
getAll in interface WebsocketStorepublic void start()
throws Exception
start in interface org.apache.camel.ServiceExceptionApache Camel