Class AutoFollowStats

java.lang.Object
co.elastic.clients.elasticsearch.ccr.stats.AutoFollowStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class AutoFollowStats extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • autoFollowedClusters

      public final List<AutoFollowedCluster> 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 the auto_follow_stats.recent_auto_follow_errors field.

      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

      public final List<ErrorCause> recentAutoFollowErrors()
      Required - An array of objects representing failures by the auto-follow coordinator.

      API name: recent_auto_follow_errors

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupAutoFollowStatsDeserializer

      protected static void setupAutoFollowStatsDeserializer(ObjectDeserializer<AutoFollowStats.Builder> op)