MySQL 9.1.0
Source Code Documentation
|
#include "mysqlrouter/metadata_cache_export.h"
#include "mysqlrouter/cluster_metadata.h"
#include "mysqlrouter/metadata.h"
#include "mysqlrouter/metadata_cache.h"
#include "mysqlrouter/mysql_session.h"
#include "router_options.h"
#include "tcp_address.h"
#include <chrono>
#include <memory>
#include <optional>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | ClusterMetadata |
The ClusterMetadata class encapsulates a connection to the Metadata server. More... | |
Namespaces | |
namespace | mysqlrouter |
namespace | xcl |
Typedefs | |
using | ConnectCallback = std::function< bool(mysqlrouter::MySQLSession &connection, const metadata_cache::ManagedInstance &mi)> |
Functions | |
std::string | as_string (const char *input_str) |
Return a string representation of the input character string. More... | |
bool | set_instance_ports (metadata_cache::ManagedInstance &instance, const mysqlrouter::MySQLSession::Row &row, const size_t classic_port_column, const size_t x_port_column) |
void | set_instance_attributes (metadata_cache::ManagedInstance &instance, const std::string &attributes) |
using ConnectCallback = std::function<bool(mysqlrouter::MySQLSession &connection, const metadata_cache::ManagedInstance &mi)> |
std::string as_string | ( | const char * | input_str | ) |
Return a string representation of the input character string.
input_str | A character string. |
void set_instance_attributes | ( | metadata_cache::ManagedInstance & | instance, |
const std::string & | attributes | ||
) |
bool set_instance_ports | ( | metadata_cache::ManagedInstance & | instance, |
const mysqlrouter::MySQLSession::Row & | row, | ||
const size_t | classic_port_column, | ||
const size_t | x_port_column | ||
) |