A - Type of the accessor (id) of the EvictionCandidateE - Type of the Evictable value of
EvictionCandidatepublic 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.
|
<C extends EvictionCandidate<A,E>> Iterable<C> evaluate(Iterable<C> evictionCandidates)
evictionCandidates - Multiple EvictionCandidate to be evictedEvictionCandidates that are available to be evictedCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.