Class CcrStatsRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.CcrStatsRequest

public class CcrStatsRequest extends RequestBase
Get cross-cluster replication stats.

This API returns stats about auto-following and the same shard-level stats as the get follower stats API.

See Also:
  • Field Details

  • Method Details

    • of

    • masterTimeout

      @Nullable public final Time masterTimeout()
      The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to -1 to indicate that the request should never timeout.

      API name: master_timeout

    • timeout

      @Nullable public final Time timeout()
      The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

      API name: timeout