onCapacity abstract method
removes the entry denoted by key
. This is called if the capacity is reached.
Implementation
CacheEntry<K, V>? onCapacity(K key);
removes the entry denoted by key
. This is called if the capacity is reached.
CacheEntry<K, V>? onCapacity(K key);