|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheEventListener
Ac CacheEventListener is registred to a cache implementing the interface CacheEvent, a CacheEventListener can listen to certain event happening in a cache
Method Summary | |
---|---|
CacheEventListener |
duplicate()
|
void |
onExpires(CacheEntry entry)
this method is invoked before a entry expires (lifetime and idletime) |
void |
onPut(CacheEntry entry)
this method is invoked before a new Entry is putted to a cache (update and insert) |
void |
onRemove(CacheEntry entry)
this method is invoked before a Cache Entry is removed from Cache |
Method Detail |
---|
void onRemove(CacheEntry entry)
entry
- entry that will be removed from Cachevoid onPut(CacheEntry entry)
void onExpires(CacheEntry entry)
CacheEventListener duplicate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |