Enum ServerCloneStatus.State

java.lang.Object
java.lang.Enum<ServerCloneStatus.State>
org.apache.druid.server.coordinator.ServerCloneStatus.State
All Implemented Interfaces:
Serializable, Comparable<ServerCloneStatus.State>
Enclosing class:
ServerCloneStatus

public static enum ServerCloneStatus.State extends Enum<ServerCloneStatus.State>
Enum determining the status of the cloning process.
  • Enum Constant Details

    • SOURCE_SERVER_MISSING

      public static final ServerCloneStatus.State SOURCE_SERVER_MISSING
      The source server is missing from the current cluster view. The clone is continuing to load segments based on the last seen state of the source cluster.
    • TARGET_SERVER_MISSING

      public static final ServerCloneStatus.State TARGET_SERVER_MISSING
      The target server is missing from the current cluster view.
    • IN_PROGRESS

      public static final ServerCloneStatus.State IN_PROGRESS
      Segments are loaded or being loaded. The counts give a better view of the progress.
  • Method Details

    • values

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

      public static ServerCloneStatus.State valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null