com.tangosol.net.cache
Class ContinuousQueryCache.AddListener
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.MultiplexingMapListener
com.tangosol.net.cache.ContinuousQueryCache.AddListener
- All Implemented Interfaces:
- MapListener, MapListenerSupport.SynchronousListener, EventListener
- Enclosing class:
- ContinuousQueryCache
public class ContinuousQueryCache.AddListener
- extends MultiplexingMapListener
- implements MapListenerSupport.SynchronousListener
A MapListener for evicting items from the query.
Method Summary |
protected void |
onMapEvent(MapEvent evt)
Invoked when a map entry has been inserted, updated or deleted. |
String |
toString()
Produce a human-readable description of this object. |
ContinuousQueryCache.AddListener
public ContinuousQueryCache.AddListener()
onMapEvent
protected void onMapEvent(MapEvent evt)
- Invoked when a map entry has been inserted, updated or deleted. To
determine what action has occurred, use
MapEvent.getId()
.
- Specified by:
onMapEvent
in class MultiplexingMapListener
- Parameters:
evt
- the MapEvent carrying the insert, update or delete
information
toString
public String toString()
- Produce a human-readable description of this object.
- Returns:
- a String describing this object