Enum Class BalancerStatus
- All Implemented Interfaces:
Serializable,Comparable<BalancerStatus>,Constable
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 ConstantsEnum ConstantDescriptionThe 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 TypeMethodDescriptionstatic BalancerStatusstatic BalancerStatusReturns the enum constant of this class with the specified name.static BalancerStatus[]values()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
-
Enum Constant Details
-
BOOTSTRAPPING
The initial state of balancer component during which a request for balancer is received from the controller. -
STARTING
The state at which the cruise control instance is being initialized. -
ENABLED
The state at which is cruise control is running. -
DISABLED
The state at which the balancer component is disabled. -
LOAD_FAILURE
Status when SBC class cannot be loaded (maybe because of missing classes or classpath issues) -
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
The terminal state at which the balancer component is shutting down, this can occur due to controller failover. -
UNKNOWN
Clients will fall back to this status when they receive an unrecognized status value.- Since:
- 7.0.0
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toEnum
-