26#ifndef ROUTING_MYSQL_ROUTING_BASE_INCLUDED 
   27#define ROUTING_MYSQL_ROUTING_BASE_INCLUDED 
   60  virtual 
bool is_accepting_connections() const = 0;
 
   63  virtual 
stdx::expected<
void, 
std::
string> restart_accepting_connections() = 0;
 
   64  virtual 
stdx::expected<
void, 
std::
string> start_accepting_connections() = 0;
 
   65  virtual 
void stop_socket_acceptors(const 
bool shutting_down) = 0;
 
   66  virtual 
bool is_standalone() const = 0;
 
Manage destinations for a Connection Routing.
Definition: destination.h:84
 
Destination to forward client connections to.
Definition: destination.h:43
 
Definition: routing_component.h:45
 
Facade to avoid a tight coupling between Routing component and actual routing endpoint implementation...
Definition: mysql_routing_base.h:41
 
MySQLRoutingBase & operator=(MySQLRoutingBase &&)=default
 
virtual ~MySQLRoutingBase()=default
 
virtual int get_max_connections() const noexcept=0
 
MySQLRoutingBase()=default
 
MySQLRoutingBase & operator=(const MySQLRoutingBase &)=default
 
MySQLRoutingBase(MySQLRoutingBase &&)=default
 
virtual MySQLRoutingContext & get_context()=0
 
MySQLRoutingBase(const MySQLRoutingBase &)=default
 
Definition: connection.h:47
 
MySQLRoutingContext holds data used by MySQLRouting (1 per plugin instances) and MySQLRoutingConnecti...
Definition: context.h:54
 
static int get_connection(MEM_ROOT *mem_root, FEDERATED_SHARE *share)
Definition: ha_federated.cc:608
 
bool is_running(const PluginFuncEnv *env) noexcept
Definition: loader.cc:243
 
ServerMode
Definition: datatypes.h:50
 
stdx::expected< RoutingStrategy, std::error_code > get_routing_strategy(std::string_view value)
Returns RoutingStrategy for its literal representation.
Definition: routing.cc:71
 
RoutingStrategy
Routing strategies supported by Routing plugin.
Definition: routing.h:271
 
Definition: gcs_xcom_synode.h:64
 
std::vector< T, ut::allocator< T > > vector
Specialization of vector which uses allocator.
Definition: ut0new.h:2880
 
#define ROUTING_EXPORT
Definition: routing_export.h:15