java.io.Serializable, java.lang.Comparable<HdfsServerConstants.NodeType>public static enum HdfsServerConstants.NodeType extends java.lang.Enum<HdfsServerConstants.NodeType>
| Enum Constant | Description |
|---|---|
DATA_NODE |
|
JOURNAL_NODE |
|
NAME_NODE |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.NodeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.NodeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsServerConstants.NodeType NAME_NODE
public static final HdfsServerConstants.NodeType DATA_NODE
public static final HdfsServerConstants.NodeType JOURNAL_NODE
public static HdfsServerConstants.NodeType[] values()
for (HdfsServerConstants.NodeType c : HdfsServerConstants.NodeType.values()) System.out.println(c);
public static HdfsServerConstants.NodeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.