Enum Class AlterMirrorOp

java.lang.Object
java.lang.Enum<AlterMirrorOp>
org.apache.kafka.clients.admin.AlterMirrorOp
All Implemented Interfaces:
Serializable, Comparable<AlterMirrorOp>, Constable

@Evolving public enum AlterMirrorOp extends Enum<AlterMirrorOp>
A class representing an alter mirror operation.
  • Enum Constant Details

    • PROMOTE

      public static final AlterMirrorOp PROMOTE
    • FAILOVER

      public static final AlterMirrorOp FAILOVER
    • PAUSE

      public static final AlterMirrorOp PAUSE
    • RESUME

      public static final AlterMirrorOp RESUME
    • CLEAR

      public static final AlterMirrorOp CLEAR
    • STOP

      public static final AlterMirrorOp STOP
    • CLEAR_OFFSETS

      public static final AlterMirrorOp CLEAR_OFFSETS
    • START_PENDING_MIRROR

      public static final AlterMirrorOp START_PENDING_MIRROR
    • PAUSE_PENDING_MIRROR

      public static final AlterMirrorOp PAUSE_PENDING_MIRROR
    • CONVERT_TO_START_PENDING_MIRROR

      public static final AlterMirrorOp CONVERT_TO_START_PENDING_MIRROR
    • REVERSE_AND_START_REMOTE_MIRROR

      public static final AlterMirrorOp REVERSE_AND_START_REMOTE_MIRROR
    • REVERSE_AND_PAUSE_REMOTE_MIRROR

      public static final AlterMirrorOp REVERSE_AND_PAUSE_REMOTE_MIRROR
    • CONVERT_TO_PAUSE_PENDING_MIRROR

      public static final AlterMirrorOp CONVERT_TO_PAUSE_PENDING_MIRROR
    • FAIL_MIRROR

      public static final AlterMirrorOp FAIL_MIRROR
    • REPAIR

      public static final AlterMirrorOp REPAIR
    • COMPLETE_REPAIR

      public static final AlterMirrorOp COMPLETE_REPAIR
    • ROLLBACK

      public static final AlterMirrorOp ROLLBACK
    • TRUNCATE_AND_RESTORE

      public static final AlterMirrorOp TRUNCATE_AND_RESTORE
    • CONVERT_TO_PENDING_RESTORE_MIRROR

      public static final AlterMirrorOp CONVERT_TO_PENDING_RESTORE_MIRROR
    • START_PENDING_RESTORE_MIRROR

      public static final AlterMirrorOp START_PENDING_RESTORE_MIRROR
    • UPDATE_SWITCHOVER_METADATA

      public static final AlterMirrorOp UPDATE_SWITCHOVER_METADATA
  • Method Details

    • values

      public static AlterMirrorOp[] 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 AlterMirrorOp 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()
    • isInternal

      public boolean isInternal()
    • forId

      public static AlterMirrorOp forId(byte id)