com.hazelcast.cache.impl.eviction
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.
|
<C extends EvictionCandidate<A,E>> Iterable<C> evaluate(Iterable<C> evictionCandidates)
evictionCandidates
- Multiple EvictionCandidate
to be evictedEvictionCandidate
s that are available to be evictedCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.