Class StatsResponse

java.lang.Object
co.elastic.clients.elasticsearch.nodes.NodesResponseBase
co.elastic.clients.elasticsearch.cluster.StatsResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class StatsResponse
extends NodesResponseBase
  • Field Details

  • Constructor Details

  • Method Details

    • clusterName

      public java.lang.String clusterName()
      Required - Name of the cluster, based on the Cluster name setting setting.

      API name: cluster_name

    • clusterUuid

      public java.lang.String clusterUuid()
      Required - Unique identifier for the cluster.

      API name: cluster_uuid

    • indices

      public ClusterIndices indices()
      Required - Contains statistics about indices with shards assigned to selected nodes.

      API name: indices

    • nodes

      public ClusterNodes nodes()
      Required - Contains statistics about nodes selected by the request’s node filters.

      API name: nodes

    • status

      public ClusterStatus status()
      Required - Health status of the cluster, based on the state of its primary and replica shards.

      API name: status

    • timestamp

      public long timestamp()
      Required - Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.

      API name: timestamp

    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class NodesResponseBase
    • setupStatsResponseDeserializer

      protected static void setupStatsResponseDeserializer​(DelegatingDeserializer<StatsResponse.Builder> op)