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:
java.util.Comparator<E>
,java.io.Serializable
- All Known Subinterfaces:
CacheEvictionPolicyComparator<K,V>
,MapEvictionPolicyComparator<K,V>
- 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 java.util.Comparator<E>, java.io.Serializable
A kind ofComparator
to be used while comparing entries to be evicted.