java.lang.Object
co.elastic.clients.elasticsearch.indices.recovery.TranslogStatus
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public final class TranslogStatus
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • percent

      public java.lang.String percent()
      API name: percent
    • recovered

      public long recovered()
      API name: recovered
    • total

      public long total()
      API name: total
    • totalOnStart

      public long totalOnStart()
      API name: total_on_start
    • totalTime

      @Nullable public java.lang.String totalTime()
      API name: total_time
    • totalTimeInMillis

      public java.lang.String totalTimeInMillis()
      API name: total_time_in_millis
    • 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)
    • setupTranslogStatusDeserializer

      protected static void setupTranslogStatusDeserializer​(DelegatingDeserializer<TranslogStatus.Builder> op)