public enum EvenClusterLoadStatus extends Enum<EvenClusterLoadStatus>
Enum Constant and Description |
---|
ABORTED
Rebalancing was aborted because a higher priority operation was
triggered (manually or by auto detection like add broker)
|
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.
|
DISABLED
The state when Balancer is not configured for any-uneven-load.
|
STARTING
The state when the Balancer is not yet started and is in process of starting.
|
UNKNOWN
Clients 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
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)