Class SnapshotCurrentCounts

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.SnapshotCurrentCounts
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • snapshots

      public final int snapshots()
      Required - Snapshots currently in progress

      API name: snapshots

    • shardSnapshots

      public final int shardSnapshots()
      Required - Incomplete shard snapshots

      API name: shard_snapshots

    • snapshotDeletions

      public final int snapshotDeletions()
      Required - Snapshots deletions in progress

      API name: snapshot_deletions

    • concurrentOperations

      public final int concurrentOperations()
      Required - Sum of snapshots and snapshot_deletions

      API name: concurrent_operations

    • cleanups

      public final int cleanups()
      Required - Cleanups in progress, not counted in concurrent_operations as they are not concurrent

      API name: cleanups

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

      protected static void setupSnapshotCurrentCountsDeserializer(ObjectDeserializer<SnapshotCurrentCounts.Builder> op)