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<ClusterState.Metric> |
parseString(String param,
boolean ignoreUnknown) |
String |
toString() |
static ClusterState.Metric |
valueOf(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(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 nullpublic static EnumSet<ClusterState.Metric> parseString(String param, boolean ignoreUnknown)
public String toString()
toString in class Enum<ClusterState.Metric>Copyright © 2009–2016. All rights reserved.