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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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 Details
-
IndexAdapter
Construct an IndexAdapter.- Parameters:
index
- the MapIndex being wrapped
-
-
Method Details
-
entryInserted
Invoked when a map entry has been inserted.- Specified by:
entryInserted
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the insert information
-
entryUpdated
Invoked when a map entry has been updated.- Specified by:
entryUpdated
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the update information
-
entryDeleted
Invoked when a map entry has been removed.- Specified by:
entryDeleted
in interfaceMapListener
- Parameters:
evt
- the MapEvent carrying the delete information
-
equals
Compare this IndexMapListener with another object for equality. -
hashCode
public int hashCode()Return a hash code value for the IndexMapListener object.
-