public static enum MapConfig.EvictionPolicy extends Enum<MapConfig.EvictionPolicy>
| Enum Constant and Description |
|---|
LFU
Least Frequently Used
|
LRU
Least Recently Used
|
NONE
None
|
| Modifier and Type | Method and Description |
|---|---|
static MapConfig.EvictionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapConfig.EvictionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapConfig.EvictionPolicy LRU
public static final MapConfig.EvictionPolicy LFU
public static final MapConfig.EvictionPolicy NONE
public static MapConfig.EvictionPolicy[] values()
for (MapConfig.EvictionPolicy c : MapConfig.EvictionPolicy.values()) System.out.println(c);
public static MapConfig.EvictionPolicy 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 © 2015 Hazelcast, Inc.. All Rights Reserved.