|
Lightweight 0.20260921.0
|
#include <SqlRetryPolicy.hpp>
Public Attributes | |
| unsigned | retryNumber {} |
| Which retry this is, counting from one. | |
| unsigned | maxRetries {} |
| The configured budget, so an observer can render "retry 2/3" without holding the settings. | |
| std::chrono::milliseconds | delay {} |
| How long the driver is about to sleep before re-running the operation. | |
| SqlErrorInfo | error |
| The error that triggered the retry. | |
Description of one retry about to happen, handed to a SqlRetryPolicy::RetryObserver.
Definition at line 118 of file SqlRetryPolicy.hpp.
| unsigned Lightweight::SqlRetryAttempt::retryNumber {} |
Which retry this is, counting from one.
Definition at line 121 of file SqlRetryPolicy.hpp.
Referenced by Lightweight::SqlRetryPolicy::Execute().
| unsigned Lightweight::SqlRetryAttempt::maxRetries {} |
The configured budget, so an observer can render "retry 2/3" without holding the settings.
Definition at line 124 of file SqlRetryPolicy.hpp.
| std::chrono::milliseconds Lightweight::SqlRetryAttempt::delay {} |
How long the driver is about to sleep before re-running the operation.
Definition at line 127 of file SqlRetryPolicy.hpp.
| SqlErrorInfo Lightweight::SqlRetryAttempt::error |
The error that triggered the retry.
Definition at line 130 of file SqlRetryPolicy.hpp.