Class ShardsStats

java.lang.Object
co.elastic.clients.elasticsearch.snapshot.ShardsStats
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • done

      public final long done()
      Required - The number of shards that initialized, started, and finalized successfully.

      API name: done

    • failed

      public final long failed()
      Required - The number of shards that failed to be included in the snapshot.

      API name: failed

    • finalizing

      public final long finalizing()
      Required - The number of shards that are finalizing but are not done.

      API name: finalizing

    • initializing

      public final long initializing()
      Required - The number of shards that are still initializing.

      API name: initializing

    • started

      public final long started()
      Required - The number of shards that have started but are not finalized.

      API name: started

    • total

      public final long total()
      Required - The total number of shards included in the snapshot.

      API name: total

    • 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
    • setupShardsStatsDeserializer

      protected static void setupShardsStatsDeserializer(ObjectDeserializer<ShardsStats.Builder> op)