Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.map.impl |
Contains implementation specific classes of
com.hazelcast.map package. |
com.hazelcast.map.impl.eviction |
This package contains eviction classes.
|
Modifier and Type | Class and Description |
---|---|
class |
MaxSizeConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
MaxSizeConfig |
MapConfig.getMaxSizeConfig() |
MaxSizeConfig |
MapConfigReadOnly.getMaxSizeConfig()
Deprecated.
|
MaxSizeConfig |
MaxSizeConfigReadOnly.setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Deprecated.
|
MaxSizeConfig |
MaxSizeConfig.setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy maxSizePolicy)
Ses the maximum size policy of the map.
|
MaxSizeConfig |
MaxSizeConfigReadOnly.setSize(int size)
Deprecated.
|
MaxSizeConfig |
MaxSizeConfig.setSize(int size)
Sets the maximum size of the map.
|
Modifier and Type | Method and Description |
---|---|
MapConfig |
MapConfig.setMaxSizeConfig(MaxSizeConfig maxSizeConfig) |
MapConfig |
MapConfigReadOnly.setMaxSizeConfig(MaxSizeConfig maxSizeConfig)
Deprecated.
|
Constructor and Description |
---|
MaxSizeConfig(MaxSizeConfig config) |
MaxSizeConfigReadOnly(MaxSizeConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
MapKeyLoaderUtil.getMaxSizePerNode(MaxSizeConfig maxSizeConfig)
Returns the configured maximum entry count per node if the max
size policy is
MaxSizeConfig.MaxSizePolicy#PER_NODE
and is not the default, otherwise returns -1 . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EvictionChecker.checkFreeHeapPercentageEviction(MaxSizeConfig maxSizeConfig) |
protected boolean |
EvictionChecker.checkFreeHeapSizeEviction(MaxSizeConfig maxSizeConfig) |
protected boolean |
EvictionChecker.checkHeapPercentageEviction(String mapName,
MaxSizeConfig maxSizeConfig) |
protected boolean |
EvictionChecker.checkHeapSizeEviction(String mapName,
MaxSizeConfig maxSizeConfig) |
protected boolean |
EvictionChecker.checkPerPartitionEviction(String mapName,
MaxSizeConfig maxSizeConfig,
int partitionId) |
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.