public interface IElementEventHandler extends IElementEventConstants
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.
ELEMENT_EVENT_EXCEEDED_IDLETIME_BACKGROUND, ELEMENT_EVENT_EXCEEDED_IDLETIME_ONREQUEST, ELEMENT_EVENT_EXCEEDED_MAXLIFE_BACKGROUND, ELEMENT_EVENT_EXCEEDED_MAXLIFE_ONREQUEST, ELEMENT_EVENT_SPOOLED_DISK_AVAILABLE, ELEMENT_EVENT_SPOOLED_DISK_NOT_AVAILABLE, ELEMENT_EVENT_SPOOLED_NOT_ALLOWED
Modifier and Type | Method and Description |
---|---|
void |
handleElementEvent(IElementEvent event)
Handle events for this element.
|
void handleElementEvent(IElementEvent event)
event
- The event created by the cache.Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.