MySQL 9.1.0
Source Code Documentation
|
#include <termios.h>
#include <unistd.h>
#include <array>
#include <stdexcept>
#include <string>
#include "keyring/keyring_manager.h"
#include "metadata_cache.h"
#include "my_thread.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/loader_config.h"
#include "mysql/harness/logging/logging.h"
#include "mysqlrouter/mysql_client_thread_token.h"
#include "mysqlrouter/mysql_session.h"
#include "mysqlrouter/supported_metadata_cache_options.h"
#include "mysqlrouter/uri.h"
#include "plugin_config.h"
Classes | |
class | MetadataServersStateListener |
Functions | |
static metadata_cache::RouterAttributes | get_router_attributes (const mysql_harness::Config *cfg) |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | start (mysql_harness::PluginFuncEnv *env) |
Initialize the metadata cache for fetching the information from the metadata servers. More... | |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static const mysql_harness::AppInfo * | g_app_info |
static const std::string | kSectionName = "metadata_cache" |
static const char * | kKeyringAttributePassword = "password" |
metadata_cache::RouterAttributes | g_router_attributes |
static constexpr std::array | required |
mysql_harness::Plugin METADATA_CACHE_PLUGIN_EXPORT | harness_plugin_metadata_cache |
|
static |
|
static |
|
static |
|
static |
Initialize the metadata cache for fetching the information from the metadata servers.
env | plugin's environment |
|
static |
metadata_cache::RouterAttributes g_router_attributes |
mysql_harness::Plugin METADATA_CACHE_PLUGIN_EXPORT harness_plugin_metadata_cache |
|
static |
|
static |
|
staticconstexpr |