All Implemented Interfaces:

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

  • Method Details

    • of

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

      public final long id()
      Required - API name: id
    • index

      public final RecoveryIndexStatus index()
      Required - API name: index
    • primary

      public final boolean primary()
      Required - API name: primary
    • source

      public final RecoveryOrigin source()
      Required - API name: source
    • stage

      public final java.lang.String stage()
      Required - API name: stage
    • start

      @Nullable public final RecoveryStartStatus start()
      API name: start
    • startTime

      @Nullable public final java.lang.String startTime()
      API name: start_time
    • startTimeInMillis

      public final java.lang.String startTimeInMillis()
      Required - API name: start_time_in_millis
    • stopTime

      @Nullable public final java.lang.String stopTime()
      API name: stop_time
    • stopTimeInMillis

      public final java.lang.String stopTimeInMillis()
      Required - API name: stop_time_in_millis
    • target

      public final RecoveryOrigin target()
      Required - API name: target
    • totalTime

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

      public final java.lang.String totalTimeInMillis()
      Required - API name: total_time_in_millis
    • translog

      public final TranslogStatus translog()
      Required - API name: translog
    • type

      public final java.lang.String type()
      Required - API name: type
    • verifyIndex

      public final VerifyIndex verifyIndex()
      Required - API name: verify_index
    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupShardRecoveryDeserializer

      protected static void setupShardRecoveryDeserializer​(ObjectDeserializer<ShardRecovery.Builder> op)