|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes the CacheListeners. There are only two type of events: either an element was removed or an element was added. There is currently no event for policy changes or size changes. They are considered internal matters of the cache.
Method Summary | |
void |
elementAdded(CacheEvent evt)
This method is called when an element is added to a cache. |
void |
elementRemoved(CacheEvent evt)
This method is called when an element is removed from a cache. |
Method Detail |
public void elementRemoved(CacheEvent evt)
evt
- the event that reports the cache modification.public void elementAdded(CacheEvent evt)
evt
- the event that reports the cache modification.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |