Package | Description |
---|---|
com.hazelcast.cache.impl |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.impl.maxsize.impl |
Max-Size policy implementations for cache.
|
com.hazelcast.internal.eviction |
Eviction policy implementations.
|
com.hazelcast.internal.eviction.impl.strategy.sampling |
Sampling based
com.hazelcast.internal.eviction.EvictionStrategy implementations for cache. |
com.hazelcast.internal.nearcache.impl.maxsize |
Max-Size policy implementations for Near Cache.
|
com.hazelcast.internal.nearcache.impl.store |
Near Cache store implementations.
|
Modifier and Type | Field and Description |
---|---|
protected EvictionChecker |
AbstractCacheRecordStore.evictionChecker |
Modifier and Type | Method and Description |
---|---|
protected EvictionChecker |
CacheRecordStore.createCacheEvictionChecker(int size,
EvictionConfig.MaxSizePolicy maxSizePolicy)
Creates an instance for checking if the maximum cache size has been reached.
|
protected EvictionChecker |
AbstractCacheRecordStore.createCacheEvictionChecker(int size,
EvictionConfig.MaxSizePolicy maxSizePolicy)
Creates an instance for checking if the maximum cache size has been reached.
|
Modifier and Type | Class and Description |
---|---|
class |
EntryCountCacheEvictionChecker
Cache max-size policy implementation for
EvictionConfig.MaxSizePolicy.ENTRY_COUNT |
Modifier and Type | Class and Description |
---|---|
class |
CompositeEvictionChecker
EvictionChecker implementation for composing
results of given EvictionChecker instances. |
Modifier and Type | Field and Description |
---|---|
static EvictionChecker |
EvictionChecker.EVICT_ALWAYS |
protected EvictionChecker[] |
CompositeEvictionChecker.evictionCheckers |
Modifier and Type | Method and Description |
---|---|
static CompositeEvictionChecker |
CompositeEvictionChecker.newCompositeEvictionChecker(CompositeEvictionChecker.CompositionOperator compositionOperator,
EvictionChecker... evictionCheckers) |
Constructor and Description |
---|
CompositeEvictionChecker(EvictionChecker... evictionCheckers) |
Modifier and Type | Method and Description |
---|---|
boolean |
SamplingEvictionStrategy.evict(S evictableStore,
EvictionPolicyEvaluator<A,E> evictionPolicyEvaluator,
EvictionChecker evictionChecker,
EvictionListener<A,E> evictionListener)
Does eviction if required.
|
Modifier and Type | Class and Description |
---|---|
class |
EntryCountNearCacheEvictionChecker
Near Cache max-size policy implementation for
EvictionConfig.MaxSizePolicy.ENTRY_COUNT . |
Modifier and Type | Field and Description |
---|---|
protected EvictionChecker |
AbstractNearCacheRecordStore.evictionChecker |
Modifier and Type | Method and Description |
---|---|
protected EvictionChecker |
BaseHeapNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
protected abstract EvictionChecker |
AbstractNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.