public enum EvenClusterLoadStatus extends Enum<EvenClusterLoadStatus>
| Enum Constant and Description |
|---|
ABORTEDRebalancing was aborted because a higher priority operation was triggered (manually or by auto detection like add broker) |
BALANCEDThe state when rebalance has completed successfully. |
BALANCINGThe state when rebalance is in progress. |
BALANCING_FAILEDThe state when rebalance fails because of some error like broker going offline during partition reassignment. |
DISABLEDDeprecated. since 7.3.0 |
STARTINGThe state when the Balancer is not yet started and is in process of starting. |
UNKNOWNClients will fall back to this status when they receive an unrecognized status value. |
| Modifier and Type | Method and Description |
|---|---|
static EvenClusterLoadStatus | toEnum(String name) |
static EvenClusterLoadStatus | valueOf(String name)Returns the enum constant of this type with the specified name. |
static EvenClusterLoadStatus[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final EvenClusterLoadStatus STARTING
public static final EvenClusterLoadStatus BALANCED
public static final EvenClusterLoadStatus BALANCING
public static final EvenClusterLoadStatus BALANCING_FAILED
public static final EvenClusterLoadStatus ABORTED
@Deprecated public static final EvenClusterLoadStatus DISABLED
public static final EvenClusterLoadStatus UNKNOWN
public static EvenClusterLoadStatus[] values()
for (EvenClusterLoadStatus c : EvenClusterLoadStatus.values()) System.out.println(c);
public static EvenClusterLoadStatus 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 EvenClusterLoadStatus toEnum(String name)