Go to the documentation of this file.
17 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H
18 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H
27 #include "absl/strings/string_view.h"
28 #include "absl/types/optional.h"
111 #endif // GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RETRY_SERVICE_CONFIG_H
RetryGlobalConfig(intptr_t max_milli_tokens, intptr_t milli_token_ratio)
StatusCodeSet retryable_status_codes_
intptr_t max_milli_tokens() const
std::unique_ptr< ServiceConfigParser::ParsedConfig > ParsePerMethodParams(const grpc_channel_args *args, const Json &json, grpc_error_handle *error) override
float backoff_multiplier_
static absl::string_view parser_name()
This is the base class that all service config parsers should derive from.
std::unique_ptr< ServiceConfigParser::ParsedConfig > ParseGlobalParams(const grpc_channel_args *, const Json &json, grpc_error_handle *error) override
Duration max_backoff() const
float backoff_multiplier() const
JSON (JavaScript Object Notation).
static void Register(CoreConfiguration::Builder *builder)
absl::optional< Duration > per_attempt_recv_timeout() const
StatusCodeSet retryable_status_codes() const
intptr_t milli_token_ratio_
intptr_t milli_token_ratio() const
Duration initial_backoff() const
A set of grpc_status_code values.
absl::optional< Duration > per_attempt_recv_timeout_
RetryMethodConfig(int max_attempts, Duration initial_backoff, Duration max_backoff, float backoff_multiplier, StatusCodeSet retryable_status_codes, absl::optional< Duration > per_attempt_recv_timeout)
absl::string_view name() const override
static size_t ParserIndex()
Duration initial_backoff_
intptr_t max_milli_tokens_
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:11