EvictionPolicy instead@Deprecated public enum EvictionPolicyType extends Enum<EvictionPolicyType>
| Enum Constant and Description | 
|---|
LFU
Deprecated.  
Least Frequently Used 
 | 
LRU
Deprecated.  
Least Recently Used 
 | 
NONE
Deprecated.  
Doesn't evict entries (will not add new entries to the Near Cache when it's full) 
 | 
RANDOM
Deprecated.  
Picks a random entry 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EvictionPolicyType | 
valueOf(String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static EvictionPolicyType[] | 
values()
Deprecated.  
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 final EvictionPolicyType RANDOM
public static final EvictionPolicyType NONE
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 © 2019 Hazelcast, Inc.. All Rights Reserved.