Enum Attribute
- All Implemented Interfaces:
Serializable
,Comparable<Attribute>
Enumerates the attributes used by the LevelDB cache stores configuration
- Author:
- Ray Tsang
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Attribute
Get the local name of this element.toString()
static Attribute
Returns the enum constant of this type with the specified name.static Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
BLOCK_SIZE
-
CACHE_SIZE
-
CLEAR_THRESHOLD
-
COMPRESSION_TYPE
-
EXPIRED_LOCATION
-
EXPIRY_QUEUE_SIZE
-
IMPLEMENTATION_TYPE
-
LOCATION
-
PATH
-
RELATIVE_TO
-
QUEUE_SIZE
-
TYPE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getLocalName
Get the local name of this element.- Returns:
- the local name
-
forName
-
toString
-