userver: congestion_control::v2::Controller Class Reference
Loading...
Searching...
No Matches
congestion_control::v2::Controller Class Referenceabstract

Detailed Description

Definition at line 24 of file v2.hpp.

+ Inheritance diagram for congestion_control::v2::Controller:

Classes

struct  Config
 

Public Member Functions

 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)
 

Protected Member Functions

virtual Limit Update (const v2::Sensor::Data &data)=0
 

Protected Attributes

std::optional< size_t > current_limit_
 

Member Data Documentation

◆ current_limit_

std::optional<size_t> congestion_control::v2::Controller::current_limit_
protected

Definition at line 48 of file v2.hpp.


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