A- Type of the accessor (id) of the
E- Type of the
public interface EvictableStore<A,E extends Evictable>
Evictableentries to evict.
|Modifier and Type||Method and Description|
The evict method is called by the
<C extends EvictionCandidate<A,E>> boolean tryEvict(C evictionCandidate, EvictionListener<A,E> evictionListener)
EvictionStrategyto eventually evict, by the policy, selected candidate from the internal data structures. It could be the selected evicted candidate cannot be evicted. For example it might be gone at the time when the method is executed. In this case it will indicate this condition by returning false.
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.