#include <backoff.h>
Definition at line 46 of file backoff.h.
◆ initial_backoff()
Duration grpc_core::BackOff::Options::initial_backoff |
( |
| ) |
const |
|
inline |
how long to wait after the first failure before retrying
Definition at line 65 of file backoff.h.
◆ jitter()
double grpc_core::BackOff::Options::jitter |
( |
| ) |
const |
|
inline |
amount to randomize backoffs
Definition at line 69 of file backoff.h.
◆ max_backoff()
Duration grpc_core::BackOff::Options::max_backoff |
( |
| ) |
const |
|
inline |
maximum time between retries
Definition at line 71 of file backoff.h.
◆ multiplier()
double grpc_core::BackOff::Options::multiplier |
( |
| ) |
const |
|
inline |
factor with which to multiply backoff after a failed retry
Definition at line 67 of file backoff.h.
◆ set_initial_backoff()
Options& grpc_core::BackOff::Options::set_initial_backoff |
( |
Duration |
initial_backoff | ) |
|
|
inline |
◆ set_jitter()
Options& grpc_core::BackOff::Options::set_jitter |
( |
double |
jitter | ) |
|
|
inline |
◆ set_max_backoff()
Options& grpc_core::BackOff::Options::set_max_backoff |
( |
Duration |
max_backoff | ) |
|
|
inline |
◆ set_multiplier()
Options& grpc_core::BackOff::Options::set_multiplier |
( |
double |
multiplier | ) |
|
|
inline |
◆ initial_backoff_
Duration grpc_core::BackOff::Options::initial_backoff_ |
|
private |
◆ jitter_
double grpc_core::BackOff::Options::jitter_ |
|
private |
◆ max_backoff_
Duration grpc_core::BackOff::Options::max_backoff_ |
|
private |
◆ multiplier_
double grpc_core::BackOff::Options::multiplier_ |
|
private |
The documentation for this class was generated from the following file: