org.objectweb.perseus.cache.api
Interface CacheEventListener
public interface CacheEventListener
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.
Version:
- Luciano Garcia-Banuelos (Luciano.Garcia@imag.fr)
entryBound
public void entryBound(CacheEvent event)
An entry has been added in the cache.
event
- describes the added entry
entryUnbound
public void entryUnbound(CacheEvent event)
An entry has been evicted from the cache.
event
- describes the evicted entry
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.