com.hazelcast.cache.impl.eviction
Interface EvictableStore<A,E extends Evictable>

All Known Subinterfaces:
CacheRecordMap<K,V>, SampleableCacheRecordMap<K,V>, SampleableEvictableStore<A,E>
All Known Implementing Classes:
CacheRecordHashMap

public interface EvictableStore<A,E extends Evictable>

Interface for store implementations that holds Evictable entries to evict.


Method Summary
<C extends EvictionCandidate<A,E>>
int
evict(Iterable<C> evictionCandidates)
          The evict method is called by the EvictionStrategy to eventually evict, by the policy, selected candidates from the internal data structures.
 

Method Detail

evict

<C extends EvictionCandidate<A,E>> int evict(Iterable<C> evictionCandidates)
The evict method is called by the EvictionStrategy to eventually evict, by the policy, selected candidates from the internal data structures.

Parameters:
evictionCandidates - Multiple EvictionCandidate to be evicted
Returns:
evicted entry count


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.