org.apache.jcs.engine.control.event.behavior
Interface IElementEventHandler


public interface IElementEventHandler

This interface defines the behavior for event handler. Event handlers are transient. They are not replicated and are not written to disk.

If you want an event handler by default for all elements in a region, then you can add it to the default element attributes. This way it will get create whenever an item gets put into the cache.


Method Summary
 void handleElementEvent(IElementEvent event)
          Handle events for this element.
 

Method Detail

handleElementEvent

void handleElementEvent(IElementEvent event)
Handle events for this element. The events are typed.

Parameters:
event - The event created by the cache.


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.