NCBI C++ ToolKit
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SPSG_ThrottleParams::SThreshold Struct Reference

Search Toolkit Book for SPSG_ThrottleParams::SThreshold

#include "psg_client_transport.hpp"
(Private to src/objtools/pubseq_gateway/client.)

+ Collaboration diagram for SPSG_ThrottleParams::SThreshold:

Public Member Functions

 SThreshold (string error_rate)
 SPSG_ThrottleParams. More...
 

Public Attributes

size_t numerator = 0
 
size_t denominator = 1
 

Static Public Attributes

constexpr static size_t kMaxDenominator = 128
 

Detailed Description

Definition at line 650 of file psg_client_transport.hpp.

Constructor & Destructor Documentation

◆ SThreshold()

SPSG_ThrottleParams::SThreshold::SThreshold ( string  error_rate)

Member Data Documentation

◆ denominator

size_t SPSG_ThrottleParams::SThreshold::denominator = 1

Definition at line 653 of file psg_client_transport.hpp.

Referenced by SPSG_Throttling::SStats::Adjust(), and SThreshold().

◆ kMaxDenominator

constexpr static size_t SPSG_ThrottleParams::SThreshold::kMaxDenominator = 128
staticconstexpr

Definition at line 654 of file psg_client_transport.hpp.

Referenced by SThreshold().

◆ numerator

size_t SPSG_ThrottleParams::SThreshold::numerator = 0

Definition at line 652 of file psg_client_transport.hpp.

Referenced by SPSG_Throttling::SStats::Adjust(), and SThreshold().


The documentation for this struct was generated from the following files:
Modified on Thu May 23 12:33:21 2024 by modify_doxy.py rev. 669887