public enum EvictStrategyType extends Enum<EvictStrategyType>
Enum Constant and Description |
---|
LRU
Evict old blocks among several StorageDirs by LRU
|
PARTIAL_LRU
Evict old blocks in certain StorageDir by LRU.
|
Modifier and Type | Method and Description |
---|---|
static EvictStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvictStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvictStrategyType LRU
public static final EvictStrategyType PARTIAL_LRU
public static EvictStrategyType[] values()
for (EvictStrategyType c : EvictStrategyType.values()) System.out.println(c);
public static EvictStrategyType 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. All Rights Reserved.