@InterfaceAudience.Private public enum StepType extends Enum<StepType>
Step
.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns step type description.
|
String |
getName()
Returns step type name.
|
static StepType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StepType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepType AWAITING_REPORTED_BLOCKS
public static final StepType DELEGATION_KEYS
public static final StepType DELEGATION_TOKENS
public static final StepType INODES
public static StepType[] values()
for (StepType c : StepType.values()) System.out.println(c);
public static StepType 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 nullpublic String getDescription()
public String getName()
Copyright © 2013 Apache Software Foundation. All rights reserved.