MySQL 9.0.0
Source Code Documentation
|
#include "io_plugin.h"
#include <algorithm>
#include <array>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <thread>
#include "my_thread.h"
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysql/harness/section_config_exposer.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/io_component.h"
#include "mysqlrouter/io_export.h"
#include "mysqlrouter/io_thread.h"
Classes | |
class | IoPluginConfig |
class | anonymous_namespace{io_plugin.cc}::IoConfigExposer |
Namespaces | |
namespace | anonymous_namespace{io_plugin.cc} |
Macros | |
#define | MYSQL_ROUTER_LOG_DOMAIN "io" |
#define | GET_OPTION_CHECKED(option, section, name, value) |
Typedefs | |
using | StringOption = mysql_harness::StringOption |
template<class T > | |
using | IntOption = mysql_harness::IntOption< T > |
Functions | |
static void | init (mysql_harness::PluginFuncEnv *env) |
static void | run (mysql_harness::PluginFuncEnv *) |
static void | deinit (mysql_harness::PluginFuncEnv *) |
static void | expose_configuration (mysql_harness::PluginFuncEnv *env, const char *, bool initial) |
Variables | |
static constexpr const char | kSectionName [] {"io"} |
io plugin. More... | |
static constexpr const size_t | kMaxThreads {1024} |
static constexpr std::array | supported_options |
static constexpr std::array | required |
mysql_harness::Plugin IO_EXPORT | harness_plugin_io |
#define GET_OPTION_CHECKED | ( | option, | |
section, | |||
name, | |||
value | |||
) |
#define MYSQL_ROUTER_LOG_DOMAIN "io" |
using IntOption = mysql_harness::IntOption<T> |
|
static |
|
static |
|
static |
|
static |
mysql_harness::Plugin IO_EXPORT harness_plugin_io |
|
staticconstexpr |
|
staticconstexpr |
io plugin.
manages the configuration of the io-threads and the io-backends.
|
staticconstexpr |
|
staticconstexpr |