org.apache.jcs.engine.control.event.behavior
Interface IElementEventHandler
- All Superinterfaces:
- IElementEventConstants
public interface IElementEventHandler
- extends IElementEventConstants
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.
handleElementEvent
void handleElementEvent(IElementEvent event)
- Handle events for this element. The events are typed.
- Parameters:
event
- The event created by the cache.
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.