IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid.plugins
MapEventListener



This callback is implemented by the application when it wants to receive events about a Map such as eviction of a map entry.
See Also:
    setMapEventListeners(java.util.List)addMapEventListener(MapEventListener)removeMapEventListener(MapEventListener)



Method Summary
public  voidentryEvicted(java.lang.Object, java.lang.Object)
           This method is invoked when the specified entry is evicted from the map.
public  voidpreloadCompleted(java.lang.Throwable)
           This method is invoked when preload of this map has completed.

Method Detail

entryEvicted

public void entryEvicted(Object key,Object value)
This method is invoked when the specified entry is evicted from the map. The eviction could have occurred either by Evictor processing or by invoking one of the invalidate methods on the ObjectMap.
Parameters:
    key - The key for the map entry that was evicted.
    value - The value that was in in the map entry evicted. The value object should not be modified.


preloadCompleted

public void preloadCompleted(Throwable t)
This method is invoked when preload of this map has completed.
Parameters:
    t - A Throwable object that indicates if preload completed without any Throwable occuring during the preload of the map. A null reference indicates preload completed without any Throwable objects occuring during the preload of the map.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1