Class ClusterStatsRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.ClusterStatsRequest

public class ClusterStatsRequest
extends RequestBase
Returns high-level overview of cluster statistics.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static ClusterStatsRequest of​(java.util.function.Function<ClusterStatsRequest.Builder,​ObjectBuilder<ClusterStatsRequest>> fn)
    • flatSettings

      @Nullable public final java.lang.Boolean flatSettings()
      Return settings in flat format (default: false)

      API name: flat_settings

    • nodeId

      public final java.util.List<java.lang.String> nodeId()
      Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.

      API name: node_id

    • timeout

      @Nullable public final Time timeout()
      Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response’s _nodes.failed property. Defaults to no timeout.

      API name: timeout