Enum Class StepType
- All Implemented Interfaces:
Serializable,Comparable<StepType>,Constable
Indicates a particular type of
Step.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe namenode has entered safemode and is awaiting block reports from datanodes.The namenode is performing an operation related to cache entries.The namenode is performing an operation related to cache pools.The namenode is performing an operation related to delegation keys.The namenode is performing an operation related to delegation tokens.The namenode is performing an operation related to erasure coding policies.The namenode is performing an operation related to inodes. -
Method Summary
Modifier and TypeMethodDescriptionReturns step type description.getName()Returns step type name.static StepTypeReturns the enum constant of this class with the specified name.static StepType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AWAITING_REPORTED_BLOCKS
The namenode has entered safemode and is awaiting block reports from datanodes. -
DELEGATION_KEYS
The namenode is performing an operation related to delegation keys. -
DELEGATION_TOKENS
The namenode is performing an operation related to delegation tokens. -
INODES
The namenode is performing an operation related to inodes. -
CACHE_POOLS
The namenode is performing an operation related to cache pools. -
CACHE_ENTRIES
The namenode is performing an operation related to cache entries. -
ERASURE_CODING_POLICIES
The namenode is performing an operation related to erasure coding policies.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
Returns step type description.- Returns:
- String step type description
-
getName
Returns step type name.- Returns:
- String step type name
-