userver: utils::statistics::BusyStorage Class Reference
Loading...
Searching...
No Matches
utils::statistics::BusyStorage Class Referencefinal

Detailed Description

Definition at line 16 of file busy.hpp.

Public Types

using WorkerId = size_t
 

Public Member Functions

 BusyStorage (Duration epoch_duration, Duration history_period, size_t max_workers=1)
 
double GetCurrentLoad () const
 
WorkerId StartWork ()
 
void StopWork (WorkerId worker_id)
 

Member Typedef Documentation

◆ WorkerId

using utils::statistics::BusyStorage::WorkerId = size_t

Definition at line 25 of file busy.hpp.

Friends And Related Symbol Documentation

◆ BusyMarker

Definition at line 43 of file busy.hpp.


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