|
Lightweight 0.20260921.0
|
#include <SqlRetryPolicy.hpp>
Public Member Functions | |
| constexpr | operator bool () const noexcept |
Public Attributes | |
| SqlRetryAction | action {} |
| Whether to retry or to surface the failure. | |
| std::chrono::milliseconds | delay {} |
| SqlRetryGiveUpReason | reason { SqlRetryGiveUpReason::None } |
| Why the policy gave up. SqlRetryGiveUpReason::None when it did not. | |
The outcome of SqlRetryPolicy::Decide.
Definition at line 97 of file SqlRetryPolicy.hpp.
|
inlineexplicitconstexprnoexcept |
true when the caller should retry. Definition at line 110 of file SqlRetryPolicy.hpp.
| SqlRetryAction Lightweight::SqlRetryDecision::action {} |
Whether to retry or to surface the failure.
Definition at line 100 of file SqlRetryPolicy.hpp.
Referenced by operator bool().
| std::chrono::milliseconds Lightweight::SqlRetryDecision::delay {} |
How long to wait before the next attempt. Zero unless action is SqlRetryAction::Retry.
Definition at line 104 of file SqlRetryPolicy.hpp.
| SqlRetryGiveUpReason Lightweight::SqlRetryDecision::reason { SqlRetryGiveUpReason::None } |
Why the policy gave up. SqlRetryGiveUpReason::None when it did not.
Definition at line 107 of file SqlRetryPolicy.hpp.