restart method
Restart the executor.
This forces the executor to reload its configuration and initialize sampling accordingly. Any changes to the configuration must be specified via the initialize method before calling restart.
Only executors that has been started (i.e. in state ExecutorState.started
)
can be restarted.
Calling restart automatically starts the executor if it can be restarted.
Implementation
@override
@nonVirtual
void restart() {
info('Restarting $this');
_stateMachine.restart();
}