Enum Class K2S3ToRmMigrationState

java.lang.Object
java.lang.Enum<K2S3ToRmMigrationState>
org.apache.kafka.common.K2S3ToRmMigrationState
All Implemented Interfaces:
Serializable, Comparable<K2S3ToRmMigrationState>, Constable

public enum K2S3ToRmMigrationState extends Enum<K2S3ToRmMigrationState>
This represents a broker's S3 to RM topic metadata migration state.
  • Enum Constant Details

  • Method Details

    • values

      public static K2S3ToRmMigrationState[] 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 K2S3ToRmMigrationState 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
    • id

      public byte id()
    • forIdOrThrow

      public static K2S3ToRmMigrationState forIdOrThrow(byte id)
    • forId

      public static K2S3ToRmMigrationState forId(byte id)