Interface EvictionListener<K,V>
public interface EvictionListener<K,V>
Listener interface used to monitor eviction in off-heap caches.
-
Method Summary
-
Method Details
-
evicting
Called prior to the eviction of a cache mapping.Implementors must be careful to not expose the callable outside the scope of this method. The behavior of the callable becomes undefined on return from this method.
- Parameters:
callable- callable for retrieving the evictee
-