|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MaxSizeConfig.MaxSizePolicy> com.hazelcast.config.MaxSizeConfig.MaxSizePolicy
public static enum MaxSizeConfig.MaxSizePolicy
Maximum Size Policy
Enum Constant Summary | |
---|---|
FREE_HEAP_PERCENTAGE
Decide minimum free heap percentage to trigger cleanup |
|
FREE_HEAP_SIZE
Decide minimum free heap size to trigger cleanup |
|
PER_NODE
Decide maximum entry count according to node |
|
PER_PARTITION
Decide maximum entry count according to partition |
|
USED_HEAP_PERCENTAGE
Decide maximum size with use heap percentage |
|
USED_HEAP_SIZE
Decide maximum size with use heap size |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |