Enum Class BalancerStatus

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

public enum BalancerStatus extends Enum<BalancerStatus>
The status of the Confluent Balancer component.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The initial state of balancer component during which a request for balancer is received from the controller.
    The state at which the balancer component is disabled.
    The state at which is cruise control is running.
    The state at which the balancer component is not able to start because JBOD is enabled or metrics collection is disabled, some other misconfiguration or cruise control hit some error.
    The terminal state at which the balancer component is shutting down, this can occur due to controller failover.
    Status when SBC class cannot be loaded (maybe because of missing classes or classpath issues)
    The state at which the cruise control instance is being initialized.
    Clients will fall back to this status when they receive an unrecognized status value.
  • Method Summary

    Modifier and Type
    Method
    Description
    toEnum(String name)
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BOOTSTRAPPING

      public static final BalancerStatus BOOTSTRAPPING
      The initial state of balancer component during which a request for balancer is received from the controller.
    • STARTING

      public static final BalancerStatus STARTING
      The state at which the cruise control instance is being initialized.
    • ENABLED

      public static final BalancerStatus ENABLED
      The state at which is cruise control is running.
    • DISABLED

      public static final BalancerStatus DISABLED
      The state at which the balancer component is disabled.
    • LOAD_FAILURE

      public static final BalancerStatus LOAD_FAILURE
      Status when SBC class cannot be loaded (maybe because of missing classes or classpath issues)
    • ERROR

      public static final BalancerStatus ERROR
      The state at which the balancer component is not able to start because JBOD is enabled or metrics collection is disabled, some other misconfiguration or cruise control hit some error.
    • FAILOVER

      public static final BalancerStatus FAILOVER
      The terminal state at which the balancer component is shutting down, this can occur due to controller failover.
    • UNKNOWN

      public static final BalancerStatus UNKNOWN
      Clients will fall back to this status when they receive an unrecognized status value.
      Since:
      7.0.0
  • Method Details

    • values

      public static BalancerStatus[] 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 BalancerStatus 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 BalancerStatus toEnum(String name)