GRPC C++  1.39.1
Static Public Member Functions
grpc_core::internal::ServerRetryThrottleMap Class Reference

Global map of server name to retry throttle data. More...

#include <retry_throttle.h>

Static Public Member Functions

static void Init ()
 Initializes global map of failure data for each server name. More...
 
static void Shutdown ()
 Shuts down global map of failure data for each server name. More...
 
static RefCountedPtr< ServerRetryThrottleDataGetDataForServer (const std::string &server_name, intptr_t max_milli_tokens, intptr_t milli_token_ratio)
 Returns the failure data for server_name, creating a new entry if needed. More...
 

Detailed Description

Global map of server name to retry throttle data.

Member Function Documentation

◆ GetDataForServer()

RefCountedPtr< ServerRetryThrottleData > grpc_core::internal::ServerRetryThrottleMap::GetDataForServer ( const std::string &  server_name,
intptr_t  max_milli_tokens,
intptr_t  milli_token_ratio 
)
static

Returns the failure data for server_name, creating a new entry if needed.

◆ Init()

void grpc_core::internal::ServerRetryThrottleMap::Init ( )
static

Initializes global map of failure data for each server name.

◆ Shutdown()

void grpc_core::internal::ServerRetryThrottleMap::Shutdown ( )
static

Shuts down global map of failure data for each server name.


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