Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.util
Class AbstractMapListener

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.AbstractMapListener

All Implemented Interfaces:
MapListener, java.util.EventListener
Direct Known Subclasses:
CachingMap.FrontMapListener, VersionedNearCache.VersionCacheListener

public abstract class AbstractMapListener
extends Base
implements MapListener

A base class that simplifies the implementation of a MapListener, particularly inner classes that only implement one or two of the three event methods.

Since:
Coherence 3.1
Author:
cp 2006.01.18

Constructor Summary
AbstractMapListener()
           

 

Method Summary
 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.

 

Constructor Detail

AbstractMapListener

public AbstractMapListener()

Method Detail

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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.