A
- Type of the accessor (id) of the EvictionCandidate
E
- Type of the Evictable
value of
EvictionCandidate
public interface EvictableStore<A,E extends Evictable>
Evictable
entries to evict.Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
evict(Iterable<C> evictionCandidates,
EvictionListener<A,E> evictionListener)
The evict method is called by the
EvictionStrategy to eventually evict, by the policy, selected
candidates from the internal data structures. |
<C extends EvictionCandidate<A,E>> int evict(Iterable<C> evictionCandidates, EvictionListener<A,E> evictionListener)
EvictionStrategy
to eventually evict, by the policy, selected
candidates from the internal data structures.evictionCandidates
- Multiple EvictionCandidate
to be evictedevictionListener
- EvictionListener
to listen evicted entriesCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.