Class CcrStatsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.CcrStatsRequest
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<CcrStatsRequest,
CcrStatsResponse, ErrorResponse> Endpoint "ccr.stats
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static CcrStatsRequest
final Time
timeout()
The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "ccr.stats
".
-
-
Method Details
-
of
public static CcrStatsRequest of(Function<CcrStatsRequest.Builder, ObjectBuilder<CcrStatsRequest>> fn) -
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
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
-