|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is to be implemented at the applicative level, to ensure an appropriate management of objects held in cache. For instances, the event listener can implement a callback to deal with housekeeping of complex objects (e.g. closing OS resources allocated to the corresponding object), after it is notified of their corresponding eviction.
Method Summary | |
void |
entryBound(CacheEvent event)
An entry has been added in the cache. |
void |
entryUnbound(CacheEvent event)
An entry has been evicted from the cache. |
Method Detail |
public void entryBound(CacheEvent event)
event
- describes the added entrypublic void entryUnbound(CacheEvent event)
event
- describes the evicted entry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |