Package org.apache.kafka.clients.admin
Enum Class EvenClusterLoadStatus
- All Implemented Interfaces:
Serializable
,Comparable<EvenClusterLoadStatus>
,Constable
The high level status of the even cluster load operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRebalancing was aborted because a higher priority operation was triggered (manually or by auto detection like add broker)The state when rebalance has completed successfully.The state when rebalance is in progress.The state when rebalance fails because of some error like broker going offline during partition reassignment.Deprecated.since 7.3.0The state when the Balancer is not yet started and is in process of starting.Clients will fall back to this status when they receive an unrecognized status value. -
Method Summary
Modifier and TypeMethodDescriptionstatic EvenClusterLoadStatus
static EvenClusterLoadStatus
Returns the enum constant of this class with the specified name.static EvenClusterLoadStatus[]
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
-
STARTING
The state when the Balancer is not yet started and is in process of starting. -
BALANCED
The state when rebalance has completed successfully. -
BALANCING
The state when rebalance is in progress. -
BALANCING_FAILED
The state when rebalance fails because of some error like broker going offline during partition reassignment. -
ABORTED
Rebalancing was aborted because a higher priority operation was triggered (manually or by auto detection like add broker) -
DISABLED
Deprecated.since 7.3.0The state when Balancer is not configured for any-uneven-load. -
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
-