Enum Class PartitionReassignmentsStatus
java.lang.Object
java.lang.Enum<PartitionReassignmentsStatus>
org.apache.kafka.clients.admin.PartitionReassignmentsStatus
- All Implemented Interfaces:
Serializable,Comparable<PartitionReassignmentsStatus>,Constable
Denotes the status of the partition reassignments of a given Confluent Balancer operation.
Operations are free to give specific meaning to each partition reassignment status
and its effect on the underlying operation, but in general:
1.
ERROR - when the reassignments were initiated but did not complete successfully.
2. PENDING - when the balancer operation is yet to start on the partition reassignments.
3. IN_PROGRESS - when the partitions are actively being reassigned.
4. CANCELED - when the reassignments were cancelled prior to initiation. Canceled reassignments never started.
5. COMPLETED - when the reassignments were completed succesfully
6. UNKNOWN - clients will fall back to this status when they receive an unrecognized status value (since 7.0.0)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PartitionReassignmentsStatusstatic PartitionReassignmentsStatusReturns the enum constant of this class with the specified name.static PartitionReassignmentsStatus[]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
-
CANCELED
-
ERROR
-
PENDING
-
IN_PROGRESS
-
COMPLETED
-
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
-