@Immutable public static enum EvenClusterLoadStateMachine.EvenClusterLoadState extends Enum<EvenClusterLoadStateMachine.EvenClusterLoadState> implements BalancerOperationState
BalancerOperationState.BalancerOperationStateCharacteristics
Enum Constant and Description |
---|
ABORTED |
BALANCED |
BALANCING |
BALANCING_FAILED |
INITIALIZING
Pre-creation state where state machine is not yet initialized.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFailedOrAborted() |
boolean |
isTerminal()
Boolean indicating whether a state is terminal or not.
|
org.apache.kafka.clients.admin.EvenClusterLoadStatus |
status() |
static EvenClusterLoadStateMachine.EvenClusterLoadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvenClusterLoadStateMachine.EvenClusterLoadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final EvenClusterLoadStateMachine.EvenClusterLoadState INITIALIZING
public static final EvenClusterLoadStateMachine.EvenClusterLoadState BALANCING
EvenClusterLoadStatus.BALANCING
public static final EvenClusterLoadStateMachine.EvenClusterLoadState BALANCED
EvenClusterLoadStatus.BALANCED
public static final EvenClusterLoadStateMachine.EvenClusterLoadState BALANCING_FAILED
EvenClusterLoadStatus.BALANCING_FAILED
public static final EvenClusterLoadStateMachine.EvenClusterLoadState ABORTED
EvenClusterLoadStatus.ABORTED
public static EvenClusterLoadStateMachine.EvenClusterLoadState[] values()
for (EvenClusterLoadStateMachine.EvenClusterLoadState c : EvenClusterLoadStateMachine.EvenClusterLoadState.values()) System.out.println(c);
public static EvenClusterLoadStateMachine.EvenClusterLoadState 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 org.apache.kafka.clients.admin.EvenClusterLoadStatus status()
public boolean isTerminal()
BalancerOperationState
isTerminal
in interface BalancerOperationState
public boolean isFailedOrAborted()