Class AutoFollowStats
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoFollowStats>Json deserializer forAutoFollowStats -
Method Summary
Modifier and TypeMethodDescriptionfinal List<AutoFollowedCluster>Required - API name:auto_followed_clustersfinal longRequired - The number of indices that the auto-follow coordinator failed to automatically follow.final longRequired - The number of times that the auto-follow coordinator failed to retrieve the cluster state from a remote cluster registered in a collection of auto-follow patterns.final longRequired - The number of indices that the auto-follow coordinator successfully followed.static AutoFollowStatsfinal List<ErrorCause>Required - An array of objects representing failures by the auto-follow coordinator.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAutoFollowStats
-
-
Method Details
-
of
public static AutoFollowStats of(Function<AutoFollowStats.Builder, ObjectBuilder<AutoFollowStats>> fn) -
autoFollowedClusters
Required - API name:auto_followed_clusters -
numberOfFailedFollowIndices
public final long numberOfFailedFollowIndices()Required - The number of indices that the auto-follow coordinator failed to automatically follow. The causes of recent failures are captured in the logs of the elected master node and in theauto_follow_stats.recent_auto_follow_errorsfield.API name:
number_of_failed_follow_indices -
numberOfFailedRemoteClusterStateRequests
public final long numberOfFailedRemoteClusterStateRequests()Required - The number of times that the auto-follow coordinator failed to retrieve the cluster state from a remote cluster registered in a collection of auto-follow patterns.API name:
number_of_failed_remote_cluster_state_requests -
numberOfSuccessfulFollowIndices
public final long numberOfSuccessfulFollowIndices()Required - The number of indices that the auto-follow coordinator successfully followed.API name:
number_of_successful_follow_indices -
recentAutoFollowErrors
Required - An array of objects representing failures by the auto-follow coordinator.API name:
recent_auto_follow_errors -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAutoFollowStatsDeserializer
protected static void setupAutoFollowStatsDeserializer(ObjectDeserializer<AutoFollowStats.Builder> op)
-