Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.spring.config |
Contains config factory classes.
|
Modifier and Type | Method and Description |
---|---|
EvictionConfig |
MapConfig.getEvictionConfig()
Gets the
EvictionConfig instance of the eviction
configuration for this IMap . |
EvictionConfig |
NearCacheConfig.getEvictionConfig()
Returns the eviction configuration for this Near Cache.
|
EvictionConfig |
CacheConfig.getEvictionConfig()
Gets the
EvictionConfig instance of the eviction configuration for this ICache . |
EvictionConfig |
CacheSimpleConfig.getEvictionConfig()
Gets the eviction configuration for this
ICache . |
EvictionConfig |
QueryCacheConfig.getEvictionConfig()
Returns
EvictionConfig instance for this QueryCache |
EvictionConfig |
EvictionConfig.setComparator(EvictionPolicyComparator comparator)
Sets the instance of the configured
EvictionPolicyComparator implementation. |
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.setMaxSizePolicy(MaxSizePolicy maxSizePolicy)
Sets the
MaxSizePolicy of this eviction configuration. |
EvictionConfig |
EvictionConfig.setSize(int size)
Sets the size which is used by the
MaxSizePolicy . |
Modifier and Type | Method and Description |
---|---|
MapConfig |
MapConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction
configuration for this IMap . |
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 . |
CacheSimpleConfig |
CacheSimpleConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this
ICache . |
QueryCacheConfig |
QueryCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for this QueryCache |
Constructor and Description |
---|
EvictionConfig(EvictionConfig config) |
Modifier and Type | Method and Description |
---|---|
static EvictionConfig |
ConfigFactory.newEvictionConfig(Integer maxSize,
MaxSizePolicy maxSizePolicy,
EvictionPolicy evictionPolicy,
boolean isNearCache,
boolean isIMap,
String comparatorClassName,
EvictionPolicyComparator<?,?,?> comparator) |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.