|
|
using | Clock = std::chrono::steady_clock |
| |
|
using | Duration = std::chrono::milliseconds |
| |
|
using | TimePoint = Clock::time_point |
| |
|
|
| RetryRunnerBase (RetryConfig config) |
| |
|
Status | ValidateConfig () const |
| | Validate retry counts and timing bounds.
|
| |
|
std::optional< TimePoint > | ComputeDeadline () const |
| |
|
bool | HasTimedOut (const std::optional< TimePoint > &deadline) const |
| |
|
std::optional< Duration > | RetryDelayWithinBudget (int32_t attempt, const std::optional< TimePoint > &deadline) const |
| |
|
bool | WaitForNextAttempt (int32_t attempt, const std::optional< TimePoint > &deadline) const |
| |
|
int32_t | CalculateDelay (int32_t attempt) const |
| | Calculate delay with exponential backoff and jitter.
|
| |
The documentation for this class was generated from the following files: