Package | Description |
---|---|
com.hazelcast.cache.impl.eviction |
Eviction policy implementations for cache.
|
com.hazelcast.cache.impl.eviction.impl.evaluator |
EvictionPolicyEvaluator implementations for cache. |
com.hazelcast.cache.impl.eviction.impl.strategy.sampling |
Sampling based
EvictionStrategy implementations for cache. |
com.hazelcast.cache.impl.nearcache.impl.store |
Near cache store implementations.
|
com.hazelcast.cache.impl.record |
Hazelcast JSR-107 aka JCache implementation
Internal record store
|
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
EvictionPolicyEvaluator.evaluate(Iterable<C> evictionCandidates)
The evaluate method implements the actual policy rules and is called on every eviction to select one or
more candidates to be evicted from the given input set of candidates.
|
<C extends EvictionCandidate<A,E>> |
EvictableStore.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. |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
AbstractEvictionPolicyEvaluator.evaluate(Iterable<C> evictionCandidates)
The evaluate method implements the
EvictionPolicy rule
on the given input set of candidates. |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<A,E>> |
SampleableEvictableStore.sample(int sampleCount)
The sample method is used to sample a number of entries (defined by the samples parameter) from
the internal data structure.
|
Modifier and Type | Class and Description |
---|---|
class |
HeapNearCacheRecordMap.EvictableSamplingEntry |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<K,V>> |
HeapNearCacheRecordMap.evict(Iterable<C> evictionCandidates,
EvictionListener<K,V> evictionListener) |
Modifier and Type | Class and Description |
---|---|
class |
CacheRecordHashMap.EvictableSamplingEntry |
Modifier and Type | Method and Description |
---|---|
<C extends EvictionCandidate<Data,CacheRecord>> |
CacheRecordHashMap.evict(Iterable<C> evictionCandidates,
EvictionListener<Data,CacheRecord> evictionListener) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.