Enum Class BlockMovementStatus

java.lang.Object
java.lang.Enum<BlockMovementStatus>
org.apache.hadoop.hdfs.server.common.sps.BlockMovementStatus
All Implemented Interfaces:
Serializable, Comparable<BlockMovementStatus>, Constable

@Private @Evolving public enum BlockMovementStatus extends Enum<BlockMovementStatus>
Block movement status code.
  • Enum Constant Details

    • DN_BLK_STORAGE_MOVEMENT_SUCCESS

      public static final BlockMovementStatus DN_BLK_STORAGE_MOVEMENT_SUCCESS
      Success.
    • DN_BLK_STORAGE_MOVEMENT_FAILURE

      public static final BlockMovementStatus DN_BLK_STORAGE_MOVEMENT_FAILURE
      Failure due to generation time stamp mismatches or network errors or no available space.
  • Method Details

    • values

      public static BlockMovementStatus[] 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 BlockMovementStatus 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