public static enum ExecutorState.State extends Enum<ExecutorState.State>
Enum Constant and Description |
---|
INTER_BROKER_REPLICA_MOVEMENT_TASK_IN_PROGRESS |
INTRA_BROKER_REPLICA_MOVEMENT_TASK_IN_PROGRESS |
LEADER_MOVEMENT_TASK_IN_PROGRESS |
NO_TASK_IN_PROGRESS |
STARTING_EXECUTION |
STOPPING_EXECUTION |
Modifier and Type | Method and Description |
---|---|
static ExecutorState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutorState.State NO_TASK_IN_PROGRESS
public static final ExecutorState.State STARTING_EXECUTION
public static final ExecutorState.State INTER_BROKER_REPLICA_MOVEMENT_TASK_IN_PROGRESS
public static final ExecutorState.State INTRA_BROKER_REPLICA_MOVEMENT_TASK_IN_PROGRESS
public static final ExecutorState.State LEADER_MOVEMENT_TASK_IN_PROGRESS
public static final ExecutorState.State STOPPING_EXECUTION
public static ExecutorState.State[] values()
for (ExecutorState.State c : ExecutorState.State.values()) System.out.println(c);
public static ExecutorState.State 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 null