OZO 「お象」
Boost.Asio and libpq based asynchronous PostgreSQL unofficial header-only C++17 client library.
ozo::failover::retry_options Struct Reference

#include <ozo/failover/retry.h>

Description

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.