Class AbstractRepositoryBase.MapListenerAdapter<ID,T>

java.lang.Object
com.oracle.coherence.repository.AbstractRepositoryBase.MapListenerAdapter<ID,T>
Type Parameters:
ID - the type of entity's identifier
T - the type of entity
All Implemented Interfaces:
MapListener<ID,T>, EventListener
Enclosing class:
AbstractRepositoryBase<ID,T,M>

protected static class AbstractRepositoryBase.MapListenerAdapter<ID,T> extends Object implements MapListener<ID,T>
Adapter from AbstractRepositoryBase.Listener to MapListener that can be registered with the backing NamedMap.
  • Method Details

    • entryInserted

      public void entryInserted(MapEvent<ID,T> mapEvent)
      Description copied from interface: MapListener
      Invoked when a map entry has been inserted.
      Specified by:
      entryInserted in interface MapListener<ID,T>
      Parameters:
      mapEvent - the MapEvent carrying the insert information
    • entryUpdated

      public void entryUpdated(MapEvent<ID,T> mapEvent)
      Description copied from interface: MapListener
      Invoked when a map entry has been updated.
      Specified by:
      entryUpdated in interface MapListener<ID,T>
      Parameters:
      mapEvent - the MapEvent carrying the update information
    • entryDeleted

      public void entryDeleted(MapEvent<ID,T> mapEvent)
      Description copied from interface: MapListener
      Invoked when a map entry has been removed.
      Specified by:
      entryDeleted in interface MapListener<ID,T>
      Parameters:
      mapEvent - the MapEvent carrying the delete information
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object