userver: congestion_control::v2::LinearController Class Reference
Loading...
Searching...
No Matches
congestion_control::v2::LinearController Class Referencefinal

Detailed Description

Definition at line 17 of file linear.hpp.

+ Inheritance diagram for congestion_control::v2::LinearController:
+ Collaboration diagram for congestion_control::v2::LinearController:

Public Types

using StaticConfig = Controller::Config
 

Public Member Functions

 LinearController (const std::string &name, v2::Sensor &sensor, Limiter &limiter, Stats &stats, const StaticConfig &config, dynamic_config::Source config_source, std::function< v2::Config(const dynamic_config::Snapshot &)> config_getter)
 
Limit Update (const Sensor::Data &current) override
 
- Public Member Functions inherited from congestion_control::v2::Controller
 Controller (const std::string &name, v2::Sensor &sensor, Limiter &limiter, Stats &stats, const Config &config)
 
void Start ()
 
void Stop ()
 
void Step ()
 
const std::string & GetName () const
 
void SetEnabled (bool enabled)
 

Additional Inherited Members

- Protected Attributes inherited from congestion_control::v2::Controller
std::optional< size_t > current_limit_
 

Member Typedef Documentation

◆ StaticConfig

Member Function Documentation

◆ Update()

Limit congestion_control::v2::LinearController::Update ( const Sensor::Data & current)
overridevirtual

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