Enum LruBlockCache.Options
- java.lang.Object
-
- java.lang.Enum<LruBlockCache.Options>
-
- org.apache.accumulo.core.file.blockfile.cache.LruBlockCache.Options
-
- All Implemented Interfaces:
Serializable
,Comparable<LruBlockCache.Options>
- Enclosing class:
- LruBlockCache
public static enum LruBlockCache.Options extends Enum<LruBlockCache.Options>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENABLE_EVICTION
ENABLE_LOCKS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LruBlockCache.Options
valueOf(String name)
Returns the enum constant of this type with the specified name.static LruBlockCache.Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE_EVICTION
public static final LruBlockCache.Options ENABLE_EVICTION
-
ENABLE_LOCKS
public static final LruBlockCache.Options ENABLE_LOCKS
-
-
Method Detail
-
values
public static LruBlockCache.Options[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LruBlockCache.Options c : LruBlockCache.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LruBlockCache.Options valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-