userver: os_signals::ProcessorComponent Class Reference
Loading...
Searching...
No Matches
os_signals::ProcessorComponent Class Referencefinal

#include <userver/os_signals/component.hpp>

Detailed Description

A component for os_signals::Processor.

Declaration in static config file may be skipped.

See also
Handling OS signals

Definition at line 24 of file component.hpp.

+ Inheritance diagram for os_signals::ProcessorComponent:

Public Member Functions

 ProcessorComponent (const components::ComponentConfig &config, const components::ComponentContext &context)
 
os_signals::ProcessorGet ()
 
virtual ComponentHealth GetComponentHealth () const
 
virtual void OnLoadingCancelled ()
 
virtual void OnAllComponentsLoaded ()
 
virtual void OnAllComponentsAreStopping ()
 

Static Public Member Functions

static yaml_config::Schema GetStaticConfigSchema ()
 

Static Public Attributes

static constexpr std::string_view kName = "os-signal-processor"
 The default name of os_signals::ProcessorComponent.
 

Member Function Documentation

◆ GetComponentHealth()

virtual ComponentHealth components::RawComponentBase::GetComponentHealth ( ) const
inlinevirtualinherited

Reimplemented in components::ComponentBase, and server::handlers::Restart.

Definition at line 49 of file raw_component_base.hpp.

◆ OnAllComponentsAreStopping()

virtual void components::RawComponentBase::OnAllComponentsAreStopping ( )
inlinevirtualinherited

◆ OnAllComponentsLoaded()

virtual void components::RawComponentBase::OnAllComponentsLoaded ( )
inlinevirtualinherited

◆ OnLoadingCancelled()

virtual void components::RawComponentBase::OnLoadingCancelled ( )
inlinevirtualinherited

Reimplemented in components::ComponentBase.

Definition at line 51 of file raw_component_base.hpp.


The documentation for this class was generated from the following file: