|Constructor and Description|
|Modifier and Type||Method and Description|
Does eviction if eviction is required by given
Does eviction internally.
public int evict(S evictableStore, EvictionPolicyEvaluator<A,E> evictionPolicyEvaluator, EvictionChecker evictionChecker, EvictionListener<A,E> evictionListener)
EvictionStrategy<A,E extends Evictable,S extends EvictableStore<A,E>>
evictableStore- Store that holds
EvictionCheckerto make a decision about if eviction is required or not. If you want evict anyway, you can use
EvictionListenerto listen evicted entries
protected abstract int evictInternal(S evictableStore, EvictionPolicyEvaluator<A,E> evictionPolicyEvaluator, EvictionListener<A,E> evictionListener)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.