Interface EvictionManager<K,​V>

  • All Known Implementing Classes:
    EvictionManagerImpl

    @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​(Map<? extends K,​InternalCacheEntry<? extends K,​? extends V>> evicted)
        Handles notifications of evicted entries
        Parameters:
        evicted - The entries that were just evicted