Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.config |
Contains functionality for Hazelcast configurations.
|
com.hazelcast.internal.eviction |
Eviction policy implementations.
|
Modifier and Type | Field and Description |
---|---|
static EvictionPolicy |
CacheSimpleConfig.DEFAULT_EVICTION_POLICY
Default Eviction Policy.
|
static EvictionPolicy |
MapConfig.DEFAULT_EVICTION_POLICY
Default policy for eviction.
|
static EvictionPolicy |
EvictionConfig.DEFAULT_EVICTION_POLICY
Default Eviction Policy.
|
protected EvictionPolicy |
EvictionConfig.evictionPolicy |
Modifier and Type | Method and Description |
---|---|
EvictionPolicy |
MapConfig.getEvictionPolicy()
Returns the
EvictionPolicy . |
EvictionPolicy |
EvictionConfig.getEvictionPolicy()
Returns the
EvictionPolicy of this eviction configuration. |
static EvictionPolicy |
EvictionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictionPolicy[] |
EvictionPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CacheEvictionConfigReadOnly |
CacheEvictionConfigReadOnly.setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
EvictionConfigReadOnly |
EvictionConfigReadOnly.setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
MapConfig |
MapConfig.setEvictionPolicy(EvictionPolicy evictionPolicy)
Sets the
EvictionPolicy . |
CacheEvictionConfig |
CacheEvictionConfig.setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
MapConfig |
MapConfigReadOnly.setEvictionPolicy(EvictionPolicy evictionPolicy)
Deprecated.
|
EvictionConfig |
EvictionConfig.setEvictionPolicy(EvictionPolicy evictionPolicy)
Sets the
EvictionPolicy of this eviction configuration. |
Constructor and Description |
---|
CacheEvictionConfig(int size,
CacheEvictionConfig.CacheMaxSizePolicy cacheMaxSizePolicy,
EvictionPolicy evictionPolicy)
Deprecated.
|
CacheEvictionConfig(int size,
EvictionConfig.MaxSizePolicy maxSizePolicy,
EvictionPolicy evictionPolicy)
Deprecated.
|
EvictionConfig(int size,
EvictionConfig.MaxSizePolicy maxSizePolicy,
EvictionPolicy evictionPolicy) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkEvictionConfig(EvictionPolicy evictionPolicy,
String comparatorClassName,
Object comparator,
boolean isNearCache)
Checks if parameters for an
EvictionConfig are valid in their context. |
Modifier and Type | Method and Description |
---|---|
EvictionPolicy |
EvictionConfiguration.getEvictionPolicy()
Gets the eviction policy.
|
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.