Interface UsageTrackingCache.ExpiryHandler<K,​V>

  • Type Parameters:
    K - The type of key used by the cache.
    V - The type of value stored by the cache.
    Enclosing class:
    UsageTrackingCache<K,​V>

    public static interface UsageTrackingCache.ExpiryHandler<K,​V>
    Callback API to handle things that are no longer in use when they eventually fall out of the cache.
    • Method Detail

      • entryDroppedFromCache

        void entryDroppedFromCache​(K key,
                                   V value)