com.alachisoft.jvcache.event
Interface CustomListener

All Superinterfaces:
java.util.EventListener

public interface CustomListener
extends java.util.EventListener

The listener interface for receiving custom events in the cache.

The class that is interested in processing a custom event implements this interface.

The listener object created from that class is then registered with a component using the component's addCustomEventListener method. When a custom event occurs, the relevant method in the listener object is invoked, and the CacheEvent is passed to it.

See Also:
CacheEvent

Method Summary
 void customEventOccured(CustomEvent customEvent)
          Invoked when an item is added in the cache.
 

Method Detail

customEventOccured

void customEventOccured(CustomEvent customEvent)
Invoked when an item is added in the cache.

Parameters:
customEvent - The details of the event.