MySQL 8.0.40
Source Code Documentation
destination_status_plugin.cc File Reference
#include <array>
#include <chrono>
#include <mutex>
#include <stdexcept>
#include <system_error>
#include "mysql/harness/config_option.h"
#include "mysql/harness/config_parser.h"
#include "mysql/harness/plugin.h"
#include "mysql/harness/plugin_config.h"
#include "mysqlrouter/destination_status_component.h"
#include "mysqlrouter/destination_status_plugin_export.h"
#include "mysqlrouter/supported_destination_status_options.h"

Classes

class  DestinationStatusPluginConfig
 

Typedefs

template<class T >
using IntOption = mysql_harness::IntOption< T >
 destination status plugin. More...
 

Functions

static void init (mysql_harness::PluginFuncEnv *env)
 

Variables

static constexpr const std::string_view kSectionName {"destination_status"}
 
static const std::array< const char *, 2 > required
 
mysql_harness::Plugin DESTINATION_STATUS_PLUGIN_EXPORT harness_plugin_destination_status
 

Typedef Documentation

◆ IntOption

template<class T >
using IntOption = mysql_harness::IntOption<T>

destination status plugin.

Function Documentation

◆ init()

static void init ( mysql_harness::PluginFuncEnv env)
static

Variable Documentation

◆ harness_plugin_destination_status

mysql_harness::Plugin DESTINATION_STATUS_PLUGIN_EXPORT harness_plugin_destination_status
Initial value:
= {
mysql_harness::PLUGIN_ABI_VERSION,
mysql_harness::ARCHITECTURE_DESCRIPTOR,
"destination status",
VERSION_NUMBER(0, 0, 1),
required.size(),
required.data(),
0,
nullptr,
nullptr,
nullptr,
nullptr,
false,
}
static void init(mysql_harness::PluginFuncEnv *env)
Definition: destination_status_plugin.cc:83
static const std::array< const char *, 2 > required
Definition: destination_status_plugin.cc:121
static constexpr std::array< const char *, 2 > destination_status_supported_options
Definition: supported_destination_status_options.h:32

◆ kSectionName

constexpr const std::string_view kSectionName {"destination_status"}
staticconstexpr

◆ required

const std::array<const char *, 2> required
static
Initial value:
= {{
"logger",
"io",
}}