|Modifier and Type||Field and Description|
|Modifier and Type||Method and Description|
Does eviction if required.
Processes sampling based eviction logic on
public static final SamplingEvictionStrategy INSTANCE
public boolean evict(S evictableStore, EvictionPolicyEvaluator<A,E> evictionPolicyEvaluator, EvictionChecker evictionChecker, EvictionListener<A,E> evictionListener)
evictableStore- Store that holds
EvictionCheckerto check whether max size is reached, therefore eviction is required or not.
EvictionListenerto listen evicted entries
protected boolean evictInternal(S sampleableEvictableStore, EvictionPolicyEvaluator<A,E> evictionPolicyEvaluator, EvictionListener<A,E> evictionListener)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.