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.
  • Constructor Details

    • IndexAdapter

      protected IndexAdapter(MapIndex index)
      Construct an IndexAdapter.
      Parameters:
      index - the MapIndex being wrapped
  • Method Details

    • entryInserted

      public void entryInserted(MapEvent evt)
      Invoked when a map entry has been inserted.
      Specified by:
      entryInserted in interface MapListener
      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 interface MapListener
      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 interface MapListener
      Parameters:
      evt - the MapEvent carrying the delete information
    • equals

      public boolean equals(Object o)
      Compare this IndexMapListener with another object for equality.
      Overrides:
      equals in class Object
      Parameters:
      o - an object reference or null
      Returns:
      true iff the passed object reference is a IndexMapListener object with the same index
    • hashCode

      public int hashCode()
      Return a hash code value for the IndexMapListener object.
      Overrides:
      hashCode in class Object