userver: server::congestion_control::Sensor Class Reference
Loading...
Searching...
No Matches
server::congestion_control::Sensor Class Referencefinal

#include <userver/server/congestion_control/sensor.hpp>

Detailed Description

HTTP server congestion control sensor.

Definition at line 25 of file sensor.hpp.

+ Inheritance diagram for server::congestion_control::Sensor:

Public Member Functions

 Sensor (engine::TaskProcessor &tp)
 
Data FetchCurrent () override
 Fetch current counters.
 
void RegisterRequestsSource (RequestsSource &source)
 

Member Function Documentation

◆ FetchCurrent()

Data server::congestion_control::Sensor::FetchCurrent ( )
overridevirtual

Fetch current counters.

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

Implements congestion_control::Sensor.


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