Class GuavaHashMultimapSingleton
- java.lang.Object
-
- org.restheart.mongodb.handlers.changestreams.GuavaHashMultimapSingleton
-
public class GuavaHashMultimapSingleton extends Object
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>, Omar Trasatti <omar@softinstigate.com>
-
-
Constructor Summary
Constructors Constructor Description GuavaHashMultimapSingleton()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanadd(SessionKey key, ChangeStreamWebSocketSession session)static Set<ChangeStreamWebSocketSession>get(SessionKey key)static GuavaHashMultimapSingletongetInstance()static booleanremove(SessionKey key, ChangeStreamWebSocketSession session)
-
-
-
Method Detail
-
getInstance
public static GuavaHashMultimapSingleton getInstance()
-
get
public static Set<ChangeStreamWebSocketSession> get(SessionKey key)
-
add
public static boolean add(SessionKey key, ChangeStreamWebSocketSession session)
-
remove
public static boolean remove(SessionKey key, ChangeStreamWebSocketSession session)
-
-