public enum PartitionReassignmentsStatus extends java.lang.Enum<PartitionReassignmentsStatus>
ERROR
- when the reassignments failed.
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 because of unrelated factors.
(e.g something stopped the operation)
5. COMPLETED
- when the reassignments were completed succesfullyEnum Constant and Description |
---|
CANCELED |
COMPLETED |
ERROR |
IN_PROGRESS |
PENDING |
Modifier and Type | Method and Description |
---|---|
BrokerRemovalDescription.PartitionReassignmentsStatus |
toOldStatus()
Get the deprecated #
BrokerRemovalDescription.PartitionReassignmentsStatus equivalent of this #PartitionReassignmentsStatus |
static PartitionReassignmentsStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartitionReassignmentsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionReassignmentsStatus CANCELED
public static final PartitionReassignmentsStatus ERROR
public static final PartitionReassignmentsStatus PENDING
public static final PartitionReassignmentsStatus IN_PROGRESS
public static final PartitionReassignmentsStatus COMPLETED
public static PartitionReassignmentsStatus[] values()
for (PartitionReassignmentsStatus c : PartitionReassignmentsStatus.values()) System.out.println(c);
public static PartitionReassignmentsStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic BrokerRemovalDescription.PartitionReassignmentsStatus toOldStatus()
BrokerRemovalDescription.PartitionReassignmentsStatus
equivalent of this #PartitionReassignmentsStatus