Interface Cache.ConcurrentLinkedHashMap.EvictionListener<K,​V>

  • Enclosing class:
    Cache.ConcurrentLinkedHashMap<K,​V>

    public static interface Cache.ConcurrentLinkedHashMap.EvictionListener<K,​V>
    A listener registered for notification when an entry is evicted.
    • Method Detail

      • onEviction

        void onEviction​(K key,
                        V value)
        A call-back notification that the entry was evicted.
        Parameters:
        key - The evicted key.
        value - The evicted value.