![]()  | 
  
    MySQL 9.5.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 | 
  Public Member Functions inherited from StrategyHandler | |
| virtual | ~StrategyHandler ()=default | 
Additional Inherited Members | |
  Protected Attributes inherited from StrategyHandler | |
| std::uint32_t | index_pos_ {0} | 
First-available strategy.
Move to next destination only if the last connection was unsuccessful. After successful connection attempt always try from the beginning.
      
  | 
  overridevirtual | 
Implements StrategyHandler.