userver: congestion_control::Sensor Class Reference
Loading...
Searching...
No Matches
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: