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 protectedIndexAdapter(MapIndex index)Construct an IndexAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidentryDeleted(MapEvent evt)Invoked when a map entry has been removed.voidentryInserted(MapEvent evt)Invoked when a map entry has been inserted.voidentryUpdated(MapEvent evt)Invoked when a map entry has been updated.booleanequals(Object o)Compare this IndexMapListener with another object for equality.inthashCode()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:
entryInsertedin 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:
entryUpdatedin 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:
entryDeletedin interfaceMapListener- Parameters:
evt- the MapEvent carrying the delete information
-
equals
public boolean equals(Object o)
Compare this IndexMapListener with another object for equality.
-
-