Home
last modified time | relevance | path

Searched refs:retry_policy_ (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dresolver_result_parsing.h97 retry_policy_(std::move(retry_policy)) {} in ClientChannelMethodParsedConfig()
103 const RetryPolicy* retry_policy() const { return retry_policy_.get(); } in retry_policy()
108 std::unique_ptr<RetryPolicy> retry_policy_; variable
Dclient_channel.cc830 const ClientChannelMethodParsedConfig::RetryPolicy* retry_policy_ = nullptr; member in grpc_core::__anon983758c10111::RetryingCall
3229 retry_policy_(retry_policy), in RetryingCall()
3233 retry_policy_ == nullptr ? 0 : retry_policy_->initial_backoff) in RetryingCall()
3234 .set_multiplier(retry_policy_ == nullptr in RetryingCall()
3236 : retry_policy_->backoff_multiplier) in RetryingCall()
3239 retry_policy_ == nullptr ? 0 : retry_policy_->max_backoff)), in RetryingCall()
3674 GPR_ASSERT(retry_policy_ != nullptr); in DoRetry()
3704 if (retry_policy_ == nullptr) return false; in MaybeRetry()
3732 if (!retry_policy_->retryable_status_codes.Contains(status)) { in MaybeRetry()
3766 if (num_attempts_completed_ >= retry_policy_->max_attempts) { in MaybeRetry()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dmethod_params.h56 const RetryPolicy* retry_policy() const { return retry_policy_.get(); } in retry_policy()
72 UniquePtr<RetryPolicy> retry_policy_; variable
Dmethod_params.cc167 if (method_params->retry_policy_ != nullptr) { in CreateFromJson()
170 method_params->retry_policy_ = ParseRetryPolicy(field); in CreateFromJson()
171 if (method_params->retry_policy_ == nullptr) return nullptr; in CreateFromJson()