Enum Class RecoveryStage

java.lang.Object
java.lang.Enum<RecoveryStage>
co.elastic.clients.elasticsearch.indices.recovery.RecoveryStage
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<RecoveryStage>, Constable

@JsonpDeserializable public enum RecoveryStage extends Enum<RecoveryStage> implements JsonEnum
See Also:
  • Enum Constant Details

    • Init

      public static final RecoveryStage Init
      Recovery has not started.
    • Index

      public static final RecoveryStage Index
      Reading index metadata and copying bytes from source to destination.
    • VerifyIndex

      public static final RecoveryStage VerifyIndex
      Verifying the integrity of the index.
    • Translog

      public static final RecoveryStage Translog
      Replaying the transaction log.
    • Finalize

      public static final RecoveryStage Finalize
      Cleanup.
    • Done

      public static final RecoveryStage Done
      Complete.
  • Field Details

  • Method Details

    • values

      public static RecoveryStage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RecoveryStage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum