![]() |
MySQL 9.3.0
Source Code Documentation
|
Base class for routing strategy handler. More...
#include <dest_static.h>
Public Member Functions | |
virtual | ~StrategyHandler ()=default |
virtual std::optional< std::uint32_t > | get_destination_index (const bool last_connection_successful, const std::uint32_t dest_pool_size)=0 |
Protected Attributes | |
std::uint32_t | index_pos_ {0} |
Base class for routing strategy handler.
|
virtualdefault |
|
pure virtual |
Implemented in First_available_strategy, Next_available_strategy, and Round_robin_strategy.
|
protected |