Package | Description |
---|---|
com.hazelcast.cache.impl |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.client.impl.protocol.task.dynamicconfig | |
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.config |
Contains functionality for Hazelcast configurations.
|
com.hazelcast.internal.nearcache.impl.store |
Near Cache store implementations.
|
Modifier and Type | Field and Description |
---|---|
protected EvictionConfig |
AbstractCacheRecordStore.evictionConfig |
Modifier and Type | Method and Description |
---|---|
protected EvictionPolicyEvaluator<Data,R> |
AbstractCacheRecordStore.createEvictionPolicyEvaluator(EvictionConfig evictionConfig) |
protected SamplingEvictionStrategy<Data,R,CRM> |
AbstractCacheRecordStore.createEvictionStrategy(EvictionConfig cacheEvictionConfig) |
Modifier and Type | Method and Description |
---|---|
EvictionConfig |
EvictionConfigHolder.asEvictionConfg(SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
static EvictionConfigHolder |
EvictionConfigHolder.of(EvictionConfig config,
SerializationService serializationService) |
Modifier and Type | Class and Description |
---|---|
class |
CacheEvictionConfig
Deprecated.
Use
EvictionConfig instead of this |
class |
CacheEvictionConfigReadOnly
Deprecated.
Use
EvictionConfigReadOnly instead of this |
class |
EvictionConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Field and Description |
---|---|
protected EvictionConfig |
EvictionConfig.readOnly |
Modifier and Type | Method and Description |
---|---|
EvictionConfig |
EvictionConfig.getAsReadOnly()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
EvictionConfig |
CacheSimpleConfigReadOnly.getEvictionConfig()
Deprecated.
|
EvictionConfig |
CacheSimpleConfig.getEvictionConfig()
Gets the eviction configuration for this
ICache . |
EvictionConfig |
NearCacheConfig.getEvictionConfig()
Returns the eviction configuration for this Near Cache.
|
EvictionConfig |
QueryCacheConfig.getEvictionConfig()
Returns
EvictionConfig instance for this QueryCache |
EvictionConfig |
NearCacheConfigReadOnly.getEvictionConfig()
Deprecated.
|
EvictionConfig |
EvictionConfigReadOnly.setComparator(EvictionPolicyComparator comparator)
Deprecated.
|
EvictionConfig |
EvictionConfig.setComparator(EvictionPolicyComparator comparator)
Sets the instance of the configured
EvictionPolicyComparator implementation. |
EvictionConfig |
EvictionConfigReadOnly.setComparatorClassName(String comparatorClassName)
Deprecated.
|
EvictionConfig |
EvictionConfig.setComparatorClassName(String comparatorClassName)
Sets the class name of the configured
EvictionPolicyComparator implementation. |
EvictionConfig |
EvictionConfig.setEvictionPolicy(EvictionPolicy evictionPolicy)
Sets the
EvictionPolicy of this eviction configuration. |
EvictionConfig |
EvictionConfig.setMaximumSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
Sets the
EvictionConfig.MaxSizePolicy of this eviction configuration. |
EvictionConfig |
EvictionConfig.setSize(int size)
Sets the size which is used by the
EvictionConfig.MaxSizePolicy . |
Modifier and Type | Method and Description |
---|---|
CacheConfig<K,V> |
CacheConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this
ICache . |
NearCacheConfig |
NearCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this Near Cache.
|
CacheConfig<K,V> |
CacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction configuration for this ICache . |
QueryCacheConfig |
QueryCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for this QueryCache |
NearCacheConfig |
NearCacheConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
Constructor and Description |
---|
CacheEvictionConfig(EvictionConfig config)
Deprecated.
|
CacheEvictionConfigReadOnly(EvictionConfig config)
Deprecated.
|
EvictionConfig(EvictionConfig config) |
EvictionConfigReadOnly(EvictionConfig config)
Deprecated.
|
NearCacheConfig(int timeToLiveSeconds,
int maxIdleSeconds,
boolean invalidateOnChange,
InMemoryFormat inMemoryFormat,
EvictionConfig evictionConfig) |
NearCacheConfig(int timeToLiveSeconds,
int maxSize,
String evictionPolicy,
int maxIdleSeconds,
boolean invalidateOnChange,
InMemoryFormat inMemoryFormat,
EvictionConfig evictionConfig)
Deprecated.
since 3.8, please use
NearCacheConfig.NearCacheConfig(int, int, boolean, InMemoryFormat, EvictionConfig) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkCacheConfig(InMemoryFormat inMemoryFormat,
EvictionConfig evictionConfig,
String mergePolicyClassname,
SplitBrainMergeTypeProvider mergeTypeProvider,
CacheMergePolicyProvider mergePolicyProvider)
Validates the given parameters in the context of an
ICache config. |
static void |
ConfigValidator.checkEvictionConfig(EvictionConfig evictionConfig,
boolean isNearCache)
Checks if a
EvictionConfig is valid in its context. |
Modifier and Type | Method and Description |
---|---|
protected EvictionChecker |
BaseHeapNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
protected abstract EvictionChecker |
AbstractNearCacheRecordStore.createNearCacheEvictionChecker(EvictionConfig evictionConfig,
NearCacheConfig nearCacheConfig) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.