iceberg-cpp
Loading...
Searching...
No Matches
Protected Types | Protected Member Functions | Protected Attributes | List of all members
iceberg::detail::RetryRunnerBase Class Reference
Inheritance diagram for iceberg::detail::RetryRunnerBase:
iceberg::RetryRunner< RetryPolicy >

Protected Types

using Clock = std::chrono::steady_clock
 
using Duration = std::chrono::milliseconds
 
using TimePoint = Clock::time_point
 

Protected Member Functions

 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.
 

Protected Attributes

RetryConfig config_
 

The documentation for this class was generated from the following files: