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 |
QueryCacheConfig.getEvictionConfig()
Returns
EvictionConfig instance for this QueryCache |
EvictionConfig |
CacheConfig.getEvictionConfig()
Gets the
EvictionConfig instance of the eviction configuration for this ICache . |
EvictionConfig |
MapConfig.getEvictionConfig()
Gets the
EvictionConfig instance of the eviction
configuration for this IMap . |
EvictionConfig |
CacheSimpleConfig.getEvictionConfig()
Gets the eviction configuration for this
ICache . |
EvictionConfig |
NearCacheConfig.getEvictionConfig()
Returns the eviction configuration for this Near Cache.
|
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 |
---|---|
QueryCacheConfig |
QueryCacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for this QueryCache |
CacheConfig<K,V> |
CacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction configuration for this ICache . |
MapConfig |
MapConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction
configuration for this IMap . |
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.
|
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 © 2024 Hazelcast, Inc.. All rights reserved.