userver: congestion_control::Sensor Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
congestion_control::Sensor Class Referenceabstract

#include <userver/congestion_control/sensor.hpp>

Classes

struct  Data
 

Public Member Functions

virtual Data FetchCurrent ()=0
 Fetch current counters.
 

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.

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

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