A
- Type of the accessor (id) of the EvictionCandidate
E
- Type of the Evictable
value of
EvictionCandidate
public interface EvictionPolicyEvaluator<A,E extends Evictable>
EvictionPolicy
.Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
evaluate(Iterable<C> evictionCandidates)
The evaluate method implements the actual policy rules and is called on every eviction to select one or
more candidates to be evicted from the given input set of candidates.
|
EvictionPolicyComparator |
getEvictionPolicyComparator()
Gets the underlying
EvictionPolicyComparator . |
EvictionPolicyComparator getEvictionPolicyComparator()
EvictionPolicyComparator
.EvictionPolicyComparator
<C extends EvictionCandidate<A,E>> Iterable<C> evaluate(Iterable<C> evictionCandidates)
evictionCandidates
- Multiple EvictionCandidate
to be evictedEvictionCandidate
s that are available to be evictedCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.