Enum Class ClusterStateMetric

java.lang.Object
java.lang.Enum<ClusterStateMetric>
co.elastic.clients.elasticsearch.cluster.state.ClusterStateMetric
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<ClusterStateMetric>, Constable

@JsonpDeserializable public enum ClusterStateMetric extends Enum<ClusterStateMetric> implements JsonEnum
See Also:
  • Enum Constant Details

    • All

      public static final ClusterStateMetric All
      Shows all metrics.
    • Version

      public static final ClusterStateMetric Version
      Shows the cluster state version.
    • MasterNode

      public static final ClusterStateMetric MasterNode
      Shows the elected master_node part of the response.
    • Blocks

      public static final ClusterStateMetric Blocks
      Shows the blocks part of the response.
    • Nodes

      public static final ClusterStateMetric Nodes
      Shows the nodes part of the response.
    • Metadata

      public static final ClusterStateMetric Metadata
      Shows the metadata part of the response. If you supply a comma-separated list of indices, the returned output will only contain metadata for these indices.
    • RoutingTable

      public static final ClusterStateMetric RoutingTable
      Shows the routing_table part of the response. If you supply a comma-separated list of indices, the returned output will only contain the routing table for these indices.
    • RoutingNodes

      public static final ClusterStateMetric RoutingNodes
      Shows the routing_nodes part of the response.
    • Customs

      public static final ClusterStateMetric Customs
      Shows the customs part of the response, which includes custom cluster state information.
  • Field Details

  • Method Details

    • values

      public static ClusterStateMetric[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClusterStateMetric valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum