public static enum HdfsConstants.DatanodeReportType extends Enum<HdfsConstants.DatanodeReportType>
Enum Constant and Description |
---|
ALL |
DEAD |
DECOMMISSIONING |
ENTERING_MAINTENANCE |
IN_MAINTENANCE |
LIVE |
Modifier and Type | Method and Description |
---|---|
static HdfsConstants.DatanodeReportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.DatanodeReportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.DatanodeReportType ALL
public static final HdfsConstants.DatanodeReportType LIVE
public static final HdfsConstants.DatanodeReportType DEAD
public static final HdfsConstants.DatanodeReportType DECOMMISSIONING
public static final HdfsConstants.DatanodeReportType ENTERING_MAINTENANCE
public static final HdfsConstants.DatanodeReportType IN_MAINTENANCE
public static HdfsConstants.DatanodeReportType[] values()
for (HdfsConstants.DatanodeReportType c : HdfsConstants.DatanodeReportType.values()) System.out.println(c);
public static HdfsConstants.DatanodeReportType 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 © 2018 Apache Software Foundation. All Rights Reserved.