public static enum CacheConfig.EvictorAlgorithmType extends java.lang.Enum<CacheConfig.EvictorAlgorithmType>
Enum Constant and Description |
---|
LFUEvictor
An Evictor that uses the Least Frequently Used Algorithm
|
LRUEvictor
An Evictor that uses the Least Recently Used Algorithm
|
Modifier and Type | Method and Description |
---|---|
static CacheConfig.EvictorAlgorithmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheConfig.EvictorAlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheConfig.EvictorAlgorithmType LRUEvictor
public static final CacheConfig.EvictorAlgorithmType LFUEvictor
public static CacheConfig.EvictorAlgorithmType[] values()
for (CacheConfig.EvictorAlgorithmType c : CacheConfig.EvictorAlgorithmType.values()) System.out.println(c);
public static CacheConfig.EvictorAlgorithmType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null