|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.MultiplexingMapListener
public abstract class MultiplexingMapListener
A base class that simplifies the implementation of a MapListener by multiplexing all events into a single listener method.
Constructor Summary | |
---|---|
MultiplexingMapListener()
|
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. |
protected abstract void |
onMapEvent(MapEvent evt)
Invoked when a map entry has been inserted, updated or deleted. |
Constructor Detail |
---|
public MultiplexingMapListener()
Method Detail |
---|
protected abstract void onMapEvent(MapEvent evt)
MapEvent.getId()
.
evt
- the MapEvent carrying the insert, update or delete
informationpublic void entryInserted(MapEvent evt)
entryInserted
in interface MapListener
evt
- the MapEvent carrying the insert informationpublic void entryUpdated(MapEvent evt)
entryUpdated
in interface MapListener
evt
- the MapEvent carrying the update informationpublic void entryDeleted(MapEvent evt)
entryDeleted
in interface MapListener
evt
- the MapEvent carrying the delete information
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |