public static enum ClusterState.Metric extends Enum<ClusterState .Metric >
| Enum Constant and Description |
|---|
BLOCKS
|
CUSTOMS
|
MASTER_NODE
|
METADATA
|
NODES
|
ROUTING_NODES
|
ROUTING_TABLE
|
VERSION
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet |
parseString(String
|
String |
toString()
|
static ClusterState |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static ClusterState |
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(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
public static EnumSet<ClusterState .Metric > parseString(String param, boolean ignoreUnknown)
public StringtoString()