public class LRUEvictionPolicyEvaluator<A,E extends Evictable> extends AbstractEvictionPolicyEvaluator<A,E>
EvictionPolicy.LRU
policy.Constructor and Description |
---|
LRUEvictionPolicyEvaluator() |
Modifier and Type | Method and Description |
---|---|
protected Evictable |
selectEvictableAsPolicy(Evictable current,
Evictable candidate)
Compares two evictable candidates and selects one as
EvictionPolicy rule. |
evaluate
protected Evictable selectEvictableAsPolicy(Evictable current, Evictable candidate)
AbstractEvictionPolicyEvaluator
EvictionPolicy
rule.selectEvictableAsPolicy
in class AbstractEvictionPolicyEvaluator<A,E extends Evictable>
current
- Currently selected evictable candidatecandidate
- Evictable candidate to compare with current oneCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.