Package com.hazelcast.spi.eviction
Interface EvictionPolicyComparator<K,V,E extends EvictableEntryView<K,V>>
- Type Parameters:
K
- type of the keyV
- type of the valueE
- type of theEvictableEntryView
- 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
-
Method Summary
Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong