Interface EvictionPolicyComparator<K,V,E extends EvictableEntryView<K,V>>

Type Parameters:
K - type of the key
V - type of the value
E - type of the EvictableEntryView
All Superinterfaces:
Comparator<E>, Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EvictionPolicyComparator<K,V,E extends EvictableEntryView<K,V>> extends Comparator<E>, Serializable
A kind of Comparator to be used while comparing entries to be evicted.
See Also:
  • MapEvictionPolicyComparator
  • CacheEvictionPolicyComparator