Global map of server name to retry throttle data.
More...
#include <retry_throttle.h>
Global map of server name to retry throttle data.
◆ 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: