public interface SingleBrokerBalancerOperationTerminationListener<S extends BalancerOperationState>
Modifier and Type | Method and Description |
---|---|
void |
onTerminalState(int brokerId,
S state,
Exception e)
Called when the state of a balancer operation reaches a terminal point
|
void onTerminalState(int brokerId, S state, Exception e)
brokerId
- - the ID of the broker, whose balancer operation reached a terminal statestate
- - the terminal statee
- - nullable, the exception that caused the terminal state