|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheElementListener
The CacheElementListener class is used to observe
cache events related to specific elements in the specific cache
that a monitor is associated with.
Be aware that turning on cache element monitoring (by registering a cache element listener) could lead to a very high number of events being sent out, depending on the load on the system.
| Method Summary | |
|---|---|
void |
elementAdded(CacheElementEvent event)
This method is called whenever an element is added to the cache. |
void |
elementEvicted(CacheElementEvent event)
This method is called whenever an element is evicted from the cache. |
void |
elementExpired(CacheElementEvent event)
This method is called whenever an element is removed from the cache due to its having expired. |
void |
elementRemoved(CacheElementEvent event)
This method is called whenever an element is removed from the cache. |
void |
elementUpdated(CacheElementEvent event)
This method is called whenever an element in the cache is being updated. |
| Method Detail |
|---|
void elementAdded(CacheElementEvent event)
event - The associated eventvoid elementEvicted(CacheElementEvent event)
event - The associated eventvoid elementExpired(CacheElementEvent event)
event - The associated eventvoid elementRemoved(CacheElementEvent event)
event - The associated eventvoid elementUpdated(CacheElementEvent event)
event - The associated event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||