public static enum ClusterState.Metric extends java.lang.Enum<ClusterState.Metric>
Enum Constant | Description |
---|---|
BLOCKS |
|
CUSTOMS |
|
MASTER_NODE |
|
METADATA |
|
NODES |
|
ROUTING_NODES |
|
ROUTING_TABLE |
|
VERSION |
Modifier and Type | Method | Description |
---|---|---|
static java.util.EnumSet<ClusterState.Metric> |
parseString(java.lang.String param,
boolean ignoreUnknown) |
|
java.lang.String |
toString() |
|
static ClusterState.Metric |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ClusterState.Metric[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterState.Metric VERSION
public static final ClusterState.Metric MASTER_NODE
public static final ClusterState.Metric BLOCKS
public static final ClusterState.Metric NODES
public static final ClusterState.Metric METADATA
public static final ClusterState.Metric ROUTING_TABLE
public static final ClusterState.Metric ROUTING_NODES
public static final ClusterState.Metric CUSTOMS
public static ClusterState.Metric[] values()
for (ClusterState.Metric c : ClusterState.Metric.values()) System.out.println(c);
public static ClusterState.Metric 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 nullpublic static java.util.EnumSet<ClusterState.Metric> parseString(java.lang.String param, boolean ignoreUnknown)
public java.lang.String toString()
toString
in class java.lang.Enum<ClusterState.Metric>