MySQL 8.4.2
Source Code Documentation
anonymous_namespace{plugin_config.cc}::RoutingConfigExposer Class Reference
Inheritance diagram for anonymous_namespace{plugin_config.cc}::RoutingConfigExposer:
[legend]

Public Member Functions

 RoutingConfigExposer (const bool initial, const RoutingPluginConfig &plugin_config, const mysql_harness::ConfigSection &default_section, const std::string &endpoint_key)
 
void expose () override
 Exposes plugin instance configuration. More...
 
- Public Member Functions inherited from mysql_harness::SectionConfigExposer
 SectionConfigExposer (bool initial, const mysql_harness::ConfigSection &default_section, const DC::SectionId &section_id)
 Constructor. More...
 
virtual ~SectionConfigExposer ()=default
 
 SectionConfigExposer (const SectionConfigExposer &)=delete
 

Private Attributes

const RoutingPluginConfigplugin_config_
 
const std::string endpoint_key_
 

Additional Inherited Members

- Public Types inherited from mysql_harness::SectionConfigExposer
enum class  Mode { ExposeInitialConfig , ExposeDefaultConfig }
 
using DC = mysql_harness::DynamicConfig
 
using OptionValue = DC::OptionValue
 
- Protected Member Functions inherited from mysql_harness::SectionConfigExposer
void expose_option (std::string_view option, const OptionValue &value, const OptionValue &default_value, bool is_common=false)
 Exposes single option configuration. More...
 
void expose_option (std::string_view option, const OptionValue &value, const OptionValue &default_value_cluster, const OptionValue &default_value_clusterset, bool is_common)
 Exposes single option configuration (overload for options that have different defaults for Cluster and for ClusterSet configuration). More...
 
- Protected Attributes inherited from mysql_harness::SectionConfigExposer
const Mode mode_
 
const mysql_harness::ConfigSectiondefault_section_
 
const DC::SectionId section_id_
 
const DC::SectionId common_section_id_ {"common", ""}
 

Constructor & Destructor Documentation

◆ RoutingConfigExposer()

anonymous_namespace{plugin_config.cc}::RoutingConfigExposer::RoutingConfigExposer ( const bool  initial,
const RoutingPluginConfig plugin_config,
const mysql_harness::ConfigSection default_section,
const std::string &  endpoint_key 
)
inline

Member Function Documentation

◆ expose()

void anonymous_namespace{plugin_config.cc}::RoutingConfigExposer::expose ( )
inlineoverridevirtual

Exposes plugin instance configuration.

Implements mysql_harness::SectionConfigExposer.

Member Data Documentation

◆ endpoint_key_

const std::string anonymous_namespace{plugin_config.cc}::RoutingConfigExposer::endpoint_key_
private

◆ plugin_config_

const RoutingPluginConfig& anonymous_namespace{plugin_config.cc}::RoutingConfigExposer::plugin_config_
private

The documentation for this class was generated from the following file: