Package com.tangosol.util
Class InvocableMapHelper.IndexAdapter
- java.lang.Object
-
- com.tangosol.util.InvocableMapHelper.IndexAdapter
-
- All Implemented Interfaces:
MapListener
,MapListenerSupport.SynchronousListener
,SynchronousListener
,EventListener
- Enclosing class:
- InvocableMapHelper
protected static class InvocableMapHelper.IndexAdapter extends Object implements MapListenerSupport.SynchronousListener
MapListener implementation that routes the map events into the corresponding MapIndex calls.
-
-
Field Summary
-
Fields inherited from interface com.tangosol.util.MapListener
ASYNCHRONOUS, SYNCHRONOUS, VERSION_AWARE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexAdapter(MapIndex index)
Construct an IndexAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
entryDeleted(MapEvent evt)
Invoked when a map entry has been removed.void
entryInserted(MapEvent evt)
Invoked when a map entry has been inserted.void
entryUpdated(MapEvent evt)
Invoked when a map entry has been updated.boolean
equals(Object o)
Compare this IndexMapListener with another object for equality.int
hashCode()
Return a hash code value for the IndexMapListener object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.MapListener
isAsynchronous, isSynchronous, isVersionAware, synchronous
-
Methods inherited from interface com.tangosol.util.MapListenerSupport.SynchronousListener
characteristics
-
-
-
-
Constructor Detail
-
IndexAdapter
protected IndexAdapter(MapIndex index)
Construct an IndexAdapter.- Parameters:
index
- the MapIndex being wrapped
-
-
Method Detail
-
entryInserted
public void entryInserted(MapEvent evt)
Invoked when a map entry has been inserted.- Specified by:
entryInserted
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the insert information
-
entryUpdated
public void entryUpdated(MapEvent evt)
Invoked when a map entry has been updated.- Specified by:
entryUpdated
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the update information
-
entryDeleted
public void entryDeleted(MapEvent evt)
Invoked when a map entry has been removed.- Specified by:
entryDeleted
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the delete information
-
equals
public boolean equals(Object o)
Compare this IndexMapListener with another object for equality.
-
-