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 Summary

    Modifier and Type
    Method
    Description
    void
    onEviction(K key, V value)
    A call-back notification that the entry was evicted.
  • Method Details

    • 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.