public enum PartitionReassignmentsStatus extends Enum<PartitionReassignmentsStatus>
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)Enum Constant and Description |
---|
CANCELED |
COMPLETED |
ERROR |
IN_PROGRESS |
PENDING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static PartitionReassignmentsStatus |
toEnum(String name) |
static PartitionReassignmentsStatus |
valueOf(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 final PartitionReassignmentsStatus UNKNOWN
public static PartitionReassignmentsStatus[] values()
for (PartitionReassignmentsStatus c : PartitionReassignmentsStatus.values()) System.out.println(c);
public static PartitionReassignmentsStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PartitionReassignmentsStatus toEnum(String name)