public static enum DatanodeInfo.AdminStates extends Enum<DatanodeInfo.AdminStates>
枚举常量和说明 |
---|
DECOMMISSION_INPROGRESS |
DECOMMISSIONED |
NORMAL |
public static final DatanodeInfo.AdminStates NORMAL
public static final DatanodeInfo.AdminStates DECOMMISSION_INPROGRESS
public static final DatanodeInfo.AdminStates DECOMMISSIONED
public static DatanodeInfo.AdminStates[] values()
for (DatanodeInfo.AdminStates c : DatanodeInfo.AdminStates.values()) System.out.println(c);
public static DatanodeInfo.AdminStates valueOf(String name)
name
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation