Package org.cometd.oort
Class OortMap.EntryListener.Adapter<K,V>
java.lang.Object
org.cometd.oort.OortMap.EntryListener.Adapter<K,V>
- Type Parameters:
K
- the key typeV
- the value type
- All Implemented Interfaces:
EventListener
,OortMap.EntryListener<K,V>
- Enclosing interface:
- OortMap.EntryListener<K,V>
public static class OortMap.EntryListener.Adapter<K,V> extends Object implements OortMap.EntryListener<K,V>
Empty implementation of
OortMap.EntryListener
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cometd.oort.OortMap.EntryListener
OortMap.EntryListener.Adapter<K,V>
-
Constructor Summary
Constructors Constructor Description Adapter()
-
Method Summary
Modifier and Type Method Description void
onPut(OortObject.Info<ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)
Callback method invoked after an entry is put into the entity map.void
onRemoved(OortObject.Info<ConcurrentMap<K,V>> info, OortMap.Entry<K,V> entry)
Callback method invoked after an entry is removed from the entity map.
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
onPut
Description copied from interface:OortMap.EntryListener
Callback method invoked after an entry is put into the entity map.- Specified by:
onPut
in interfaceOortMap.EntryListener<K,V>
- Parameters:
info
- theOortObject.Info
that was changed by the putentry
- the entry values
-
onRemoved
Description copied from interface:OortMap.EntryListener
Callback method invoked after an entry is removed from the entity map.- Specified by:
onRemoved
in interfaceOortMap.EntryListener<K,V>
- Parameters:
info
- theOortObject.Info
that was changed by the removeentry
- the entry values
-