public interface BalancerOperationCallback<S extends BalancerOperationState,E extends BalancerOperationEvent>
BalancerOperationEvent
occurs as part of the balancer operation.
The state machine is described thoroughly in the associated implementaion of #StateMachine
.Modifier and Type | Method and Description |
---|---|
S |
currentState() |
void |
registerEvent(E event)
Registers a new #
BalancerOperationEvent as part of the progress changing |
void |
registerEvent(E event,
Exception e)
Registers a new errorful #
BalancerOperationEvent as part of the progress changing |
S currentState()
void registerEvent(E event, Exception e)
BalancerOperationEvent
as part of the progress changingvoid registerEvent(E event)
BalancerOperationEvent
as part of the progress changing