#include <ozo/failover/retry.h>
Options for retry.
These options can be used with ozo::failover::retry_strategy
.
Static Public Attributes | |
constexpr static option< on_retry_tag > | on_retry {} |
Set handler for retry event, may be useful for logging. | |
constexpr static option< close_connection_tag > | close_connection {} |
Set close connection policy on retry, possible values true (default), false . | |
constexpr static option< tries_tag > | tries {} |
Set number of tries, see ozo::retry_strategy::tries() for more information. | |
constexpr static option< conditions_tag > | conditions {} |
Set error conditions to retry. | |