Class SnapshotStats

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

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

  • Method Details

    • of

    • incremental

      public final FileCountSnapshotStats incremental()
      Required - The number and size of files that still need to be copied as part of the incremental snapshot. For completed snapshots, this property indicates the number and size of files that were not already in the repository and were copied as part of the incremental snapshot.

      API name: incremental

    • startTimeInMillis

      public final long startTimeInMillis()
      Required - The time, in milliseconds, when the snapshot creation process started.

      API name: start_time_in_millis

    • time

      @Nullable public final Time time()
      API name: time
    • timeInMillis

      public final long timeInMillis()
      Required - The total time, in milliseconds, that it took for the snapshot process to complete.

      API name: time_in_millis

    • total

      public final FileCountSnapshotStats total()
      Required - The total number and size of files that are referenced by 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
    • setupSnapshotStatsDeserializer

      protected static void setupSnapshotStatsDeserializer(ObjectDeserializer<SnapshotStats.Builder> op)