public enum ActionType extends java.lang.Enum<ActionType>
INTER_BROKER_REPLICA_MOVEMENT
: Move a replica from a source broker to a destination broker.INTRA_BROKER_REPLICA_MOVEMENT
: Move a replica from a source disk to a destination disk.LEADERSHIP_MOVEMENT
: Move leadership of a leader from a source broker to a follower of the same
partition residing in a destination broker.REPLICA_ADDITION
: Add a new replica to the cluster.REPLICA_DELETION
: Remove an existing replica from the cluster.INTER_BROKER_REPLICA_SWAP
: Swap places of replicas residing in source and destination brokers.INTRA_BROKER_REPLICA_SWAP
: Swap places of replicas residing in source and destination disks.Enum Constant and Description |
---|
INTER_BROKER_REPLICA_MOVEMENT |
INTER_BROKER_REPLICA_SWAP |
INTRA_BROKER_REPLICA_MOVEMENT |
INTRA_BROKER_REPLICA_SWAP |
LEADERSHIP_MOVEMENT |
REPLICA_ADDITION |
REPLICA_DELETION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
balancingAction() |
static java.util.List<ActionType> |
cachedValues() |
java.lang.String |
toString() |
static ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType INTER_BROKER_REPLICA_MOVEMENT
public static final ActionType INTRA_BROKER_REPLICA_MOVEMENT
public static final ActionType LEADERSHIP_MOVEMENT
public static final ActionType REPLICA_ADDITION
public static final ActionType REPLICA_DELETION
public static final ActionType INTER_BROKER_REPLICA_SWAP
public static final ActionType INTRA_BROKER_REPLICA_SWAP
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<ActionType> cachedValues()
public java.lang.String balancingAction()
public java.lang.String toString()
toString
in class java.lang.Enum<ActionType>