26#ifndef ROUTING_MYSQL_ROUTING_BASE_INCLUDED 
   27#define ROUTING_MYSQL_ROUTING_BASE_INCLUDED 
   58  virtual 
bool is_accepting_connections() const = 0;
 
   61  virtual 
stdx::expected<
void, 
std::
string> restart_accepting_connections() = 0;
 
   62  virtual 
stdx::expected<
void, 
std::
string> start_accepting_connections() = 0;
 
   63  virtual 
void stop_socket_acceptors() = 0;
 
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:43
 
MySQLRoutingContext holds data used by MySQLRouting (1 per plugin instances) and MySQLRoutingConnecti...
Definition: context.h:59
 
static int get_connection(MEM_ROOT *mem_root, FEDERATED_SHARE *share)
Definition: ha_federated.cc:605
 
bool is_running(const PluginFuncEnv *env) noexcept
Definition: loader.cc:202
 
RoutingStrategy ROUTING_EXPORT get_routing_strategy(const std::string &value)
Returns RoutingStrategy for its literal representation.
Definition: routing.cc:91
 
AccessMode
Modes supported by Routing plugin.
Definition: routing.h:104
 
RoutingStrategy
Routing strategies supported by Routing plugin.
Definition: routing.h:111
 
Definition: gcs_xcom_synode.h:64
 
std::vector< T, ut::allocator< T > > vector
Specialization of vector which uses allocator.
Definition: ut0new.h:2879
 
#define ROUTING_EXPORT
Definition: routing_export.h:15