Class RecoveryStats

java.lang.Object
co.elastic.clients.elasticsearch._types.RecoveryStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class RecoveryStats
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RecoveryStats of​(java.util.function.Function<RecoveryStats.Builder,​ObjectBuilder<RecoveryStats>> fn)
    • currentAsSource

      public final long currentAsSource()
      Required - API name: current_as_source
    • currentAsTarget

      public final long currentAsTarget()
      Required - API name: current_as_target
    • throttleTime

      @Nullable public final java.lang.String throttleTime()
      API name: throttle_time
    • throttleTimeInMillis

      public final long throttleTimeInMillis()
      Required - API name: throttle_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)
    • setupRecoveryStatsDeserializer

      protected static void setupRecoveryStatsDeserializer​(ObjectDeserializer<RecoveryStats.Builder> op)