public interface EvictionListener<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
evicting(Callable<Map.Entry<K,V>> callable)
Called prior to the eviction of a cache mapping.
|
void evicting(Callable<Map.Entry<K,V>> callable)
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.
callable - callable for retrieving the evicteeCopyright © 2015–2024. All rights reserved.