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