userver: congestion_control::Sensor Class Reference
Loading...
Searching...
No Matches
congestion_control::Sensor Class Referenceabstract

#include <userver/congestion_control/sensor.hpp>

Detailed Description

Abstract sensor that fetches counters. These counters will be used to forecast saturation levels and limit current load.

Definition at line 13 of file sensor.hpp.

+ Inheritance diagram for congestion_control::Sensor:

Classes

struct  Data
 

Public Member Functions

virtual Data FetchCurrent ()=0
 Fetch current counters.
 

Member Function Documentation

◆ FetchCurrent()

virtual Data congestion_control::Sensor::FetchCurrent ( )
pure virtual

Fetch current counters.

Note
Can be called both from coroutine and non-coroutine context

Implemented in server::congestion_control::Sensor.


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