Package org.nustaq.reallive.client
Class SubscribedSet
java.lang.Object
org.nustaq.reallive.client.SubscribedSet
public class SubscribedSet
extends java.lang.Object
Created by ruedi on 22/08/15.
Synchronized local replication of a subscriütion
-
Constructor Summary
Constructors Constructor Description SubscribedSet(RealLiveTable source)SubscribedSet(RealLiveTable source, boolean usConc) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.Object,Record>cloneMap()Recordget(java.lang.String key)java.util.Map<java.lang.Object,Record>getMap()should be used only if this is a HeapRecordStorage, accessed single threaded or this has been initialized using a concurrent mapvoidsubscribe(RLPredicate<Record> filter)voidunsubscribe()
-
Constructor Details
-
Method Details
-
subscribe
-
unsubscribe
public void unsubscribe() -
get
-
cloneMap
-
getMap
should be used only if this is a HeapRecordStorage, accessed single threaded or this has been initialized using a concurrent map- Returns:
-