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:

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
 
void Start ()
 
void Stop ()
 
void Step ()
 
const std::string & GetName () const
 
void SetEnabled (bool enabled)
 

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: