#include <userver/components/single_threaded_task_processors.hpp>
Component that starts multiple single threaded task processors.
Usefull to process tasks in a single threaded third-party libraries (for example in Python/JS interpreters).
See "Static task_processor options" at components::ManagerControllerComponent for options description and sample.
Definition at line 32 of file single_threaded_task_processors.hpp.
Public Member Functions | |
SingleThreadedTaskProcessors (const ComponentConfig &config, const ComponentContext &) | |
engine::SingleThreadedTaskProcessorsPool & | GetPool () |
Public Member Functions inherited from components::LoggableComponentBase | |
LoggableComponentBase (const ComponentConfig &, const ComponentContext &) | |
LoggableComponentBase (LoggableComponentBase &&)=delete | |
LoggableComponentBase (const LoggableComponentBase &)=delete | |
~LoggableComponentBase () override=default | |
ComponentHealth | GetComponentHealth () const override |
void | OnLoadingCancelled () override |
void | OnAllComponentsLoaded () override |
void | OnAllComponentsAreStopping () override |
Static Public Member Functions | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Member Functions inherited from components::LoggableComponentBase | |
static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
static constexpr std::string_view | kName = "single-threaded-task-processors" |
The default name of components::SingleThreadedTaskProcessors. | |
|
inline |
Definition at line 43 of file single_threaded_task_processors.hpp.