Reads all available modules from the config and either starts, stops or reconfigures them in order to match the configured modules state.
Schedules the reconfigure hook on all registered modules and applies the latest configuration settings to the registry.
Registers a module that has already been instantiated by the user.
Registers a module that has already been instantiated by the user. The start callback will be executed as part of the registration process. If a module with the specified name already exists the registration will fail. If the registered module is a MetricReporter and/or SpanReporter it will also be configured to receive the metrics and spans data upon every tick.
Desired module name.
Module instance.
A registration that can be used to stop the module at any time.
Stops all registered modules.
Stops all registered modules. As part of the stop process, all modules get a last chance to report metrics and spans available until the call to stop.
Controls the lifecycle of all available modules.