Package com.hazelcast.config
Enum Class MaxSizePolicy
- All Implemented Interfaces:
Serializable
,Comparable<MaxSizePolicy>
,Constable
Maximum Size Policy
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPolicy based on maximum number of entries stored per data structure (map, cache etc)Policy based on minimum free JVM heap memory percentage per JVMPolicy based on minimum free JVM heap memory in megabytes per JVMPolicy based on minimum free native memory percentage per Hazelcast instancePolicy based on minimum free native memory in megabytes per Hazelcast instancePolicy based on maximum number of entries stored per data structure (map, cache etc) on each Hazelcast instancePolicy based on maximum number of entries stored per data structure (map, cache etc) on each partitionPolicy based on maximum used JVM heap memory percentage per data structure (map, cache etc) on each Hazelcast instancePolicy based on maximum used JVM heap memory in megabytes per data structure (map, cache etc) on each Hazelcast instancePolicy based on maximum used native memory percentage per data structure (map, cache etc) on each Hazelcast instancePolicy based on maximum used native memory in megabytes per data structure (map, cache etc) on each Hazelcast instance -
Method Summary
Modifier and TypeMethodDescriptionstatic MaxSizePolicy
getById
(int id) int
getId()
static MaxSizePolicy
Returns the enum constant of this class with the specified name.static MaxSizePolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_NODE
Policy based on maximum number of entries stored per data structure (map, cache etc) on each Hazelcast instance -
PER_PARTITION
Policy based on maximum number of entries stored per data structure (map, cache etc) on each partition -
USED_HEAP_PERCENTAGE
Policy based on maximum used JVM heap memory percentage per data structure (map, cache etc) on each Hazelcast instance -
USED_HEAP_SIZE
Policy based on maximum used JVM heap memory in megabytes per data structure (map, cache etc) on each Hazelcast instance -
FREE_HEAP_PERCENTAGE
Policy based on minimum free JVM heap memory percentage per JVM -
FREE_HEAP_SIZE
Policy based on minimum free JVM heap memory in megabytes per JVM -
ENTRY_COUNT
Policy based on maximum number of entries stored per data structure (map, cache etc) -
USED_NATIVE_MEMORY_SIZE
Policy based on maximum used native memory in megabytes per data structure (map, cache etc) on each Hazelcast instance -
USED_NATIVE_MEMORY_PERCENTAGE
Policy based on maximum used native memory percentage per data structure (map, cache etc) on each Hazelcast instance -
FREE_NATIVE_MEMORY_SIZE
Policy based on minimum free native memory in megabytes per Hazelcast instance -
FREE_NATIVE_MEMORY_PERCENTAGE
Policy based on minimum free native memory percentage per Hazelcast instance
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public int getId() -
getById
-