MySQL 8.0.40
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/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/utility/string.h"
#include "mysqlrouter/io_component.h"
#include "mysqlrouter/io_export.h"
#include "mysqlrouter/io_thread.h"
Classes | |
class | IoPluginConfig |
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 *) |
Variables | |
static constexpr const char | kSectionName [] {"io"} |
io plugin. More... | |
static constexpr const size_t | kMaxThreads {1024} |
static constexpr std::array< const char *, 2 > | supported_options |
static std::array< const char *, 1 > | 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 |
mysql_harness::Plugin IO_EXPORT harness_plugin_io |
|
staticconstexpr |
|
staticconstexpr |
io plugin.
manages the configuration of the io-threads and the io-backends.
|
static |
|
staticconstexpr |