Interface HeapCacheBackEnd.EvictionCallback<K,​V>

  • Type Parameters:
    K - the key type
    V - the value type
    Enclosing interface:
    HeapCacheBackEnd<K,​V>

    public static interface HeapCacheBackEnd.EvictionCallback<K,​V>
    An eviction callback
    • Method Detail

      • evicted

        void evicted​(K key,
                     V value)
        Called upon eviction (the mapping is gone already)
        Parameters:
        key - the evicted key
        value - the evicted value