public static enum ExecutionTask.TaskType extends Enum<ExecutionTask.TaskType>
Enum Constant and Description |
---|
INTER_BROKER_REPLICA_ACTION
A replica movement that moves replicas across brokers
e.g "[1,2,3] => [4,5,6]"
|
INTRA_BROKER_REPLICA_ACTION
A replica movement that moves replicas across a single broker's disks
|
LEADER_ACTION
A replica movement that only moves the leader replica to an already-present replica.
|
Modifier and Type | Method and Description |
---|---|
static List<ExecutionTask.TaskType> |
cachedValues() |
abstract String |
toString() |
static ExecutionTask.TaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionTask.TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionTask.TaskType INTER_BROKER_REPLICA_ACTION
public static final ExecutionTask.TaskType INTRA_BROKER_REPLICA_ACTION
public static final ExecutionTask.TaskType LEADER_ACTION
INTER_BROKER_REPLICA_ACTION
and LEADER_ACTION
,
with the latter running after the former is applied.public static ExecutionTask.TaskType[] values()
for (ExecutionTask.TaskType c : ExecutionTask.TaskType.values()) System.out.println(c);
public static ExecutionTask.TaskType 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 abstract String toString()
toString
in class Enum<ExecutionTask.TaskType>
public static List<ExecutionTask.TaskType> cachedValues()