Interface EvictionManager<K,​V>


  • @ThreadSafe
    public interface EvictionManager<K,​V>
    Central component that deals with eviction of cache entries.

    This manager only controls notifications of when entries are evicted.

    Since:
    4.0
    Author:
    Manik Surtani
    • Method Detail

      • onEntryEviction

        void onEntryEviction​(java.util.Map<? extends K,​InternalCacheEntry<? extends K,​? extends V>> evicted)
        Handles notifications of evicted entries
        Parameters:
        evicted - The entries that were just evicted