Class ChangeStreamsRegistry
java.lang.Object
org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
Registry to keep track of open change streasms
wraps a map to easily allow to get corresponding SessionInfo that
encapsulates db, coll, and opName
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(SessionKey key) get(SessionKey key) static ChangeStreamsRegistrygetSessionKeysOnCollection(String db, String coll) getSessionKeysOnOperation(String db, String coll, String operation) keySet()put(SessionKey key, SessionInfo info) remove(SessionKey key)
-
Constructor Details
-
ChangeStreamsRegistry
public ChangeStreamsRegistry()
-
-
Method Details
-
getInstance
-
get
-
keySet
-
put
-
containsKey
-
remove
-
getSessionKeysOnDb
-
getSessionKeysOnCollection
-
getSessionKeysOnOperation
-