restart method

  1. @override
void restart()
override

Restart the executor.

This forces the executor to reload its configuration and initialize sampling accordingly. Configuration must be specified via the initialize method before calling restart.

Note that calling restart does not automatically resume the executor. If the executor is to be resumed after a restart, the resume method must be called.

Implementation

@override
void restart() {
  info('Restarting $runtimeType');
  _stateMachine.restart();
}