public static enum EvenClusterLoadStateMachine.EvenClusterLoadEvent extends Enum<EvenClusterLoadStateMachine.EvenClusterLoadEvent> implements BalancerOperationEvent
Enum Constant and Description |
---|
ADD_BROKER_TRIGGERED
Arrival of an empty broker triggers add broker and cancels existing running
goal violation self balancing.
|
BALANCING_FAILED
Self healing of goal violation failed because of some error (like broker going down during
reassignment phase).
|
BALANCING_SUCCESS
Self healing of goal violation successfully completed.
|
REMOVE_BROKER_TRIGGERED
A remove broker operation cancels existing running goal violation self balancing.
|
STOPPED
We can get STOPPED event because SBC got disabled or on controller failover
|
Modifier and Type | Method and Description |
---|---|
static EvenClusterLoadStateMachine.EvenClusterLoadEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvenClusterLoadStateMachine.EvenClusterLoadEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvenClusterLoadStateMachine.EvenClusterLoadEvent ADD_BROKER_TRIGGERED
public static final EvenClusterLoadStateMachine.EvenClusterLoadEvent BALANCING_SUCCESS
public static final EvenClusterLoadStateMachine.EvenClusterLoadEvent BALANCING_FAILED
public static final EvenClusterLoadStateMachine.EvenClusterLoadEvent REMOVE_BROKER_TRIGGERED
public static final EvenClusterLoadStateMachine.EvenClusterLoadEvent STOPPED
public static EvenClusterLoadStateMachine.EvenClusterLoadEvent[] values()
for (EvenClusterLoadStateMachine.EvenClusterLoadEvent c : EvenClusterLoadStateMachine.EvenClusterLoadEvent.values()) System.out.println(c);
public static EvenClusterLoadStateMachine.EvenClusterLoadEvent 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