Package org.cometd.oort
Interface OortMap.EntryListener<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Superinterfaces:
EventListener
Listener for entry events that update the entity map, either locally or remotely.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonPut(OortObject.Info<ConcurrentMap<K, V>> info, OortMap.Entry<K, V> entry) Callback method invoked after an entry is put into the entity map.default voidonRemoved(OortObject.Info<ConcurrentMap<K, V>> info, OortMap.Entry<K, V> entry) Callback method invoked after an entry is removed from the entity map.
-
Method Details
-
onPut
Callback method invoked after an entry is put into the entity map.- Parameters:
info- theOortObject.Infothat was changed by the putentry- the entry values
-
onRemoved
Callback method invoked after an entry is removed from the entity map.- Parameters:
info- theOortObject.Infothat was changed by the removeentry- the entry values
-