26#ifndef ROUTING_DEST_METADATA_CACHE_INCLUDED
27#define ROUTING_DEST_METADATA_CACHE_INCLUDED
29#include <system_error>
72 void add(
const std::string &, uint16_t)
override {}
86 bool empty() const noexcept
override {
return false; }
170 std::pair<metadata_cache::cluster_nodes_list_t, bool>
get_available(
172 bool for_new_connections =
true)
const;
179 bool primary_fallback);
194 const bool md_servers_reachable);
201 const bool md_servers_reachable,
202 const uint64_t )
noexcept override;
208 const bool instances_changed,
Type
supported protocols
Definition: base_protocol.h:32
A forward iterable container of destinations.
Definition: destination.h:107
Manage destinations for a Connection Routing.
Definition: destination.h:189
net::io_context & io_ctx_
Definition: destination.h:325
std::vector< mysql_harness::TCPAddress > AddrVector
Definition: destination.h:191
PluginFuncEnv object.
Definition: loader.h:673
Defines an IP address with port number
Definition: tcp_address.h:40
Definition: io_context.h:61
static char * query
Definition: myisam_ftdump.cc:47
Defining the class MySQLRouting.
ServerMode
Definition: datatypes.h:50
std::map< std::string, std::string > URIQuery
Definition: uri.h:47
RoutingStrategy
Routing strategies supported by Routing plugin.
Definition: routing.h:265
#define ROUTING_EXPORT
Definition: routing_export.h:15
int n
Definition: xcom_base.cc:509