Package org.apache.kafka.clients.admin
Enum Class BalancerOperationStatus
- All Implemented Interfaces:
Serializable
,Comparable<BalancerOperationStatus>
,Constable
A high-level status of any given Confluent Balancer operation.
(e.g #
ConfluentAdmin.describeBrokerAdditions()
, #ConfluentAdmin.describeBrokerRemovals()
)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe status of the Confluent Balancer operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic BalancerOperationStatus
static BalancerOperationStatus
Returns the enum constant of this class with the specified name.static BalancerOperationStatus[]
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
-
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
-
SUCCESS
-
UNKNOWN
-
-
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
-