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; }
164 std::pair<metadata_cache::cluster_nodes_list_t, bool>
get_available(
166 bool for_new_connections =
true)
const;
173 bool primary_fallback);
188 const bool md_servers_reachable);
195 const bool md_servers_reachable,
196 const uint64_t )
noexcept override;
202 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:188
net::io_context & io_ctx_
Definition: destination.h:320
std::vector< mysql_harness::TCPAddress > AddrVector
Definition: destination.h:190
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.
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