public static enum CacheEvictionConfig.CacheMaxSizePolicy extends Enum<CacheEvictionConfig.CacheMaxSizePolicy>
Enum Constant and Description |
---|
ENTRY_COUNT
Decide maximum entry count according to node
|
FREE_NATIVE_MEMORY_PERCENTAGE
Decide minimum free native memory percentage to trigger cleanup
|
FREE_NATIVE_MEMORY_SIZE
Decide minimum free native memory size to trigger cleanup
|
USED_NATIVE_MEMORY_PERCENTAGE
Decide maximum size with use native memory percentage
|
USED_NATIVE_MEMORY_SIZE
Decide maximum size with use native memory size
|
Modifier and Type | Method and Description |
---|---|
static CacheEvictionConfig.CacheMaxSizePolicy |
fromMaxSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy) |
EvictionConfig.MaxSizePolicy |
toMaxSizePolicy() |
static CacheEvictionConfig.CacheMaxSizePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheEvictionConfig.CacheMaxSizePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheEvictionConfig.CacheMaxSizePolicy ENTRY_COUNT
public static final CacheEvictionConfig.CacheMaxSizePolicy USED_NATIVE_MEMORY_SIZE
public static final CacheEvictionConfig.CacheMaxSizePolicy USED_NATIVE_MEMORY_PERCENTAGE
public static final CacheEvictionConfig.CacheMaxSizePolicy FREE_NATIVE_MEMORY_SIZE
public static final CacheEvictionConfig.CacheMaxSizePolicy FREE_NATIVE_MEMORY_PERCENTAGE
public static CacheEvictionConfig.CacheMaxSizePolicy[] values()
for (CacheEvictionConfig.CacheMaxSizePolicy c : CacheEvictionConfig.CacheMaxSizePolicy.values()) System.out.println(c);
public static CacheEvictionConfig.CacheMaxSizePolicy 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 nullpublic EvictionConfig.MaxSizePolicy toMaxSizePolicy()
public static CacheEvictionConfig.CacheMaxSizePolicy fromMaxSizePolicy(EvictionConfig.MaxSizePolicy maxSizePolicy)
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.