![]() |
MySQL 9.2.0
Source Code Documentation
|
First-available strategy. More...
#include <dest_static.h>
Public Member Functions | |
std::optional< std::uint32_t > | get_destination_index (const bool last_connection_successful, const std::uint32_t dest_pool_size) override |
![]() | |
virtual | ~StrategyHandler ()=default |
Additional Inherited Members | |
![]() | |
std::uint32_t | index_pos_ {0} |
First-available strategy.
Move to the next destination if the last connection was unsuccessful. Keep the current position if connection is successful (not going back, might exhaust the destination list).
|
overridevirtual |
Implements StrategyHandler.