Class AutoFollowStats
java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowStats
- All Implemented Interfaces:
- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AutoFollowStats>Json deserializer forAutoFollowStats
- 
Method SummaryModifier 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- 
_DESERIALIZERJson deserializer forAutoFollowStats
 
- 
- 
Method Details- 
ofpublic static AutoFollowStats of(Function<AutoFollowStats.Builder, ObjectBuilder<AutoFollowStats>> fn) 
- 
autoFollowedClustersRequired - API name:auto_followed_clusters
- 
numberOfFailedFollowIndicespublic 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
- 
numberOfFailedRemoteClusterStateRequestspublic 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
- 
numberOfSuccessfulFollowIndicespublic final long numberOfSuccessfulFollowIndices()Required - The number of indices that the auto-follow coordinator successfully followed.API name: number_of_successful_follow_indices
- 
recentAutoFollowErrorsRequired - An array of objects representing failures by the auto-follow coordinator.API name: recent_auto_follow_errors
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupAutoFollowStatsDeserializerprotected static void setupAutoFollowStatsDeserializer(ObjectDeserializer<AutoFollowStats.Builder> op) 
 
-