public enum BalancerOperationStatus extends Enum<BalancerOperationStatus>
ConfluentAdmin.describeBrokerAdditions()
, #ConfluentAdmin.describeBrokerRemovals()
)Enum Constant and Description |
---|
FAILED
The status of the Confluent Balancer operation.
|
IN_PROGRESS |
SUCCESS |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static BalancerOperationStatus |
toEnum(String name) |
static BalancerOperationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BalancerOperationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BalancerOperationStatus FAILED
FAILED
- when the operation has ceased before completing due to an external influence canceling it or an internal error failing it.
2. #IN_PROGRESS
- when the intent of the operation is registered and is in the process of being completed.
3. #SUCCESS
- when the balancer operation has completed successfully.
4. #UNKNOWN
- clients will fall back to this status when they receive an unrecognized status value (since 7.0.0)public static final BalancerOperationStatus IN_PROGRESS
public static final BalancerOperationStatus SUCCESS
public static final BalancerOperationStatus UNKNOWN
public static BalancerOperationStatus[] values()
for (BalancerOperationStatus c : BalancerOperationStatus.values()) System.out.println(c);
public static BalancerOperationStatus 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 BalancerOperationStatus toEnum(String name)