Class MemoryWebsocketStore
java.lang.Object
java.util.AbstractMap<K,V>
java.util.concurrent.ConcurrentHashMap<String,DefaultWebsocket>
org.apache.camel.component.websocket.MemoryWebsocketStore
- All Implemented Interfaces:
Serializable,AutoCloseable,ConcurrentMap<String,,DefaultWebsocket> Map<String,,DefaultWebsocket> WebsocketStore,org.apache.camel.Service
public class MemoryWebsocketStore
extends ConcurrentHashMap<String,DefaultWebsocket>
implements WebsocketStore
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(DefaultWebsocket ws) getAll()voidvoidvoidstart()voidstop()Methods inherited from class java.util.concurrent.ConcurrentHashMap
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, valuesMethods inherited from class java.util.AbstractMap
cloneMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close, init
-
Constructor Details
-
MemoryWebsocketStore
public MemoryWebsocketStore()
-
-
Method Details
-
add
- Specified by:
addin interfaceWebsocketStore
-
remove
- Specified by:
removein interfaceWebsocketStore
-
remove
- Specified by:
removein interfaceWebsocketStore
-
get
- Specified by:
getin interfaceWebsocketStore
-
getAll
- Specified by:
getAllin interfaceWebsocketStore
-
start
public void start()- Specified by:
startin interfaceorg.apache.camel.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.camel.Service
-