public static enum MaxSizeConfig.MaxSizePolicy extends Enum<MaxSizeConfig.MaxSizePolicy>
Enum Constant and Description |
---|
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
|
FREE_NATIVE_MEMORY_PERCENTAGE
Policy based on minimum free native memory percentage per Hazelcast instance
|
FREE_NATIVE_MEMORY_SIZE
Policy based on minimum free native memory in megabytes per Hazelcast instance
|
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
|
USED_NATIVE_MEMORY_PERCENTAGE
Policy based on maximum used native memory percentage per data structure (map, cache etc)
on each Hazelcast instance
|
USED_NATIVE_MEMORY_SIZE
Policy based on maximum used native memory in megabytes per data structure (map, cache etc)
on each Hazelcast instance
|
Modifier and Type | Method and Description |
---|---|
static MaxSizeConfig.MaxSizePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaxSizeConfig.MaxSizePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaxSizeConfig.MaxSizePolicy PER_NODE
public static final MaxSizeConfig.MaxSizePolicy PER_PARTITION
public static final MaxSizeConfig.MaxSizePolicy USED_HEAP_PERCENTAGE
public static final MaxSizeConfig.MaxSizePolicy USED_HEAP_SIZE
public static final MaxSizeConfig.MaxSizePolicy FREE_HEAP_PERCENTAGE
public static final MaxSizeConfig.MaxSizePolicy FREE_HEAP_SIZE
public static final MaxSizeConfig.MaxSizePolicy USED_NATIVE_MEMORY_SIZE
public static final MaxSizeConfig.MaxSizePolicy USED_NATIVE_MEMORY_PERCENTAGE
public static final MaxSizeConfig.MaxSizePolicy FREE_NATIVE_MEMORY_SIZE
public static final MaxSizeConfig.MaxSizePolicy FREE_NATIVE_MEMORY_PERCENTAGE
public static MaxSizeConfig.MaxSizePolicy[] values()
for (MaxSizeConfig.MaxSizePolicy c : MaxSizeConfig.MaxSizePolicy.values()) System.out.println(c);
public static MaxSizeConfig.MaxSizePolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.