|
Lightweight 0.20260921.0
|
#include <SqlRetryPolicy.hpp>
Public Attributes | |
| unsigned | retriesSoFar = 0 |
| Number of retries already consumed. Zero on the first failure. | |
| std::chrono::milliseconds | delaySoFar { 0 } |
How far a retry loop has already got. Threaded through SqlRetryPolicy::Decide so the decision itself stays a pure function of its inputs.
Definition at line 55 of file SqlRetryPolicy.hpp.
| unsigned Lightweight::SqlRetryState::retriesSoFar = 0 |
Number of retries already consumed. Zero on the first failure.
Definition at line 58 of file SqlRetryPolicy.hpp.
| std::chrono::milliseconds Lightweight::SqlRetryState::delaySoFar { 0 } |
Sum of the delays already waited out, checked against SqlRetrySettings::totalDelayBudget.
Definition at line 62 of file SqlRetryPolicy.hpp.