You can use the ObjectGridEventListener and MapEventListener plug-ins to configure notifications for various events in the eXtreme Scale cache. Listener plug-ins are registered with an ObjectGrid or BackingMap instance like other eXtreme Scale plug-ins and add integration and customization points for applications and cache providers.
For more information about writing an ObjectGridEventListener plug-in, see ObjectGridEventListener plug-in. You can also refer to the API documentation for more information.
Adding and removing ObjectGridEventListener instances
An ObjectGrid can have multiple ObjectGridEventListener listeners. Add and remove the listeners using the addEventListener, setEventListeners and removeEventListener methods on the ObjectGrid interface. You can also declaratively registerObjectGridEventListener plug-ins with the ObjectGrid descriptor file. For examples, see ObjectGridEventListener plug-in.Adding and removing MapEventListener instances
An eXtreme Scale can have multiple MapEventListener listeners. Add and remove listeners with the addMapEventListener, setMapEventListeners and removeMapEventListener methods on the BackingMap interface. You can also declaratively register MapEventListener listeners with the ObjectGrid descriptor file. For examples, see MapEventListener plug-in.