Enum Class BalancerOperationStatus

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

public enum BalancerOperationStatus extends Enum<BalancerOperationStatus>
A high-level status of any given Confluent Balancer operation. (e.g #ConfluentAdmin.describeBrokerAdditions(), #ConfluentAdmin.describeBrokerRemovals())
  • Enum Constant Details

    • FAILED

      public static final BalancerOperationStatus FAILED
      The status of the Confluent Balancer operation. A Confluent Balancer operation can be in one of the following statuses: 1. #FAILED - when the operation has ceased before completing due to an external influence canceling it or an internal error failing it. 2. #IN_PROGRESS - when the intent of the operation is registered and is in the process of being completed. 3. #SUCCESS - when the balancer operation has completed successfully. 4. #UNKNOWN - clients will fall back to this status when they receive an unrecognized status value (since 7.0.0)
    • IN_PROGRESS

      public static final BalancerOperationStatus IN_PROGRESS
    • SUCCESS

      public static final BalancerOperationStatus SUCCESS
    • UNKNOWN

      public static final BalancerOperationStatus UNKNOWN
  • Method Details

    • values

      public static BalancerOperationStatus[] 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 BalancerOperationStatus 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
    • toEnum

      public static BalancerOperationStatus toEnum(String name)