#include <ozo/failover/role_based.h>
Role-based strategy.
Role-based strategy is a factory for ozo::fallback::role_based_try object. 
| Public Member Functions | |
| constexpr | role_based_strategy (Options options=Options{}) | 
| Construct a new retry strategy object.  More... | |
|  Public Member Functions inherited from ozo::options_factory_base< role_based_strategy< decltype(hana::make_map()) >, decltype(hana::make_map()) > | |
| constexpr | options_factory_base (decltype(hana::make_map()) v) | 
| constexpr decltype(auto) | set (decltype(hana::make_map()) &&...options) && | 
| constexpr auto | has (ozo::option< Key > op) const | 
| constexpr decltype(auto) | get (ozo::option< Key > op) const | 
| constexpr const decltype(hana::make_map()) & | options () const & | 
| constexpr decltype(hana::make_map()) & | options () & | 
| constexpr decltype(hana::make_map()) && | options () && | 
| Friends | |
| class | ozo::options_factory_base< role_based_strategy< Options >, Options > | 
| 
 | constexpr | 
Construct a new retry strategy object.
| options | — boost::hana::mapofozo::failover::role_based_optionsand values. |