Package org.cometd.oort
Interface OortMap.EntryListener<K,V>
-
- Type Parameters:
K- the key typeV- the value type
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
OortMap.EntryListener.Adapter
public static interface OortMap.EntryListener<K,V> extends java.util.EventListenerListener for entry events that update the entity map, either locally or remotely.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOortMap.EntryListener.Adapter<K,V>Empty implementation ofOortMap.EntryListener.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPut(OortObject.Info<java.util.concurrent.ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)Callback method invoked after an entry is put into the entity map.voidonRemoved(OortObject.Info<java.util.concurrent.ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)Callback method invoked after an entry is removed from the entity map.
-
-
-
Method Detail
-
onPut
void onPut(OortObject.Info<java.util.concurrent.ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)
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
void onRemoved(OortObject.Info<java.util.concurrent.ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)
Callback method invoked after an entry is removed from the entity map.- Parameters:
info- theOortObject.Infothat was changed by the removeentry- the entry values
-
-