MySQL 8.0.39
Source Code Documentation
RoutingConfig Class Reference

route specific configuration. More...

#include <routing_config.h>

Inheritance diagram for RoutingConfig:
[legend]

Public Attributes

Protocol::Type protocol {}
 protocol (classic, x) More...
 
std::string destinations
 destinations More...
 
int bind_port {}
 TCP port to bind to. More...
 
mysql_harness::TCPAddress bind_address
 IP address to bind to. More...
 
mysql_harness::Path named_socket
 unix domain socket path to bind to More...
 
int connect_timeout {}
 connect-timeout in seconds More...
 
routing::AccessMode mode
 read-only/read-write More...
 
routing::RoutingStrategy routing_strategy
 routing strategy (next-avail, ...) More...
 
int max_connections {}
 max connections allowed More...
 
unsigned long long max_connect_errors {}
 max connect errors More...
 
unsigned int client_connect_timeout {}
 client connect timeout in seconds More...
 
unsigned int net_buffer_length {}
 Size of buffer to receive packets. More...
 
unsigned int thread_stack_size {}
 thread stack size in kilobytes More...
 
SslMode source_ssl_mode {}
 SslMode of the client side connection. More...
 
std::string source_ssl_cert
 Cert file. More...
 
std::string source_ssl_key
 Key file. More...
 
std::string source_ssl_cipher
 allowed TLS ciphers More...
 
std::string source_ssl_curves
 allowed TLS curves More...
 
std::string source_ssl_dh_params
 DH params. More...
 
SslMode dest_ssl_mode {}
 SslMode of the server side connection. More...
 
SslVerify dest_ssl_verify {}
 How to verify the server-side cert. More...
 
std::string dest_ssl_cipher
 allowed TLS ciphers More...
 
std::string dest_ssl_ca_file
 CA file to used to verify destinations' identity. More...
 
std::string dest_ssl_ca_dir
 directory of CA files used to verify destinations' identity More...
 
std::string dest_ssl_crl_file
 CRL file used to check revoked certificates. More...
 
std::string dest_ssl_crl_dir
 directory of CRL files More...
 
std::string dest_ssl_curves
 allowed TLS curves More...
 
bool connection_sharing {}
 if connection sharing is allowed. More...
 
std::chrono::milliseconds connection_sharing_delay {}
 delay before an idling connection is moved to the pool and connection sharing is allowed. More...
 

Detailed Description

route specific configuration.

Member Data Documentation

◆ bind_address

mysql_harness::TCPAddress RoutingConfig::bind_address

IP address to bind to.

◆ bind_port

int RoutingConfig::bind_port {}

TCP port to bind to.

◆ client_connect_timeout

unsigned int RoutingConfig::client_connect_timeout {}

client connect timeout in seconds

◆ connect_timeout

int RoutingConfig::connect_timeout {}

connect-timeout in seconds

◆ connection_sharing

bool RoutingConfig::connection_sharing {}

if connection sharing is allowed.

◆ connection_sharing_delay

std::chrono::milliseconds RoutingConfig::connection_sharing_delay {}

delay before an idling connection is moved to the pool and connection sharing is allowed.

◆ dest_ssl_ca_dir

std::string RoutingConfig::dest_ssl_ca_dir

directory of CA files used to verify destinations' identity

◆ dest_ssl_ca_file

std::string RoutingConfig::dest_ssl_ca_file

CA file to used to verify destinations' identity.

◆ dest_ssl_cipher

std::string RoutingConfig::dest_ssl_cipher

allowed TLS ciphers

◆ dest_ssl_crl_dir

std::string RoutingConfig::dest_ssl_crl_dir

directory of CRL files

◆ dest_ssl_crl_file

std::string RoutingConfig::dest_ssl_crl_file

CRL file used to check revoked certificates.

◆ dest_ssl_curves

std::string RoutingConfig::dest_ssl_curves

allowed TLS curves

◆ dest_ssl_mode

SslMode RoutingConfig::dest_ssl_mode {}

SslMode of the server side connection.

◆ dest_ssl_verify

SslVerify RoutingConfig::dest_ssl_verify {}

How to verify the server-side cert.

◆ destinations

std::string RoutingConfig::destinations

destinations

◆ max_connect_errors

unsigned long long RoutingConfig::max_connect_errors {}

max connect errors

◆ max_connections

int RoutingConfig::max_connections {}

max connections allowed

◆ mode

routing::AccessMode RoutingConfig::mode
Initial value:

read-only/read-write

◆ named_socket

mysql_harness::Path RoutingConfig::named_socket

unix domain socket path to bind to

◆ net_buffer_length

unsigned int RoutingConfig::net_buffer_length {}

Size of buffer to receive packets.

◆ protocol

Protocol::Type RoutingConfig::protocol {}

protocol (classic, x)

◆ routing_strategy

routing::RoutingStrategy RoutingConfig::routing_strategy
Initial value:

routing strategy (next-avail, ...)

◆ source_ssl_cert

std::string RoutingConfig::source_ssl_cert

Cert file.

◆ source_ssl_cipher

std::string RoutingConfig::source_ssl_cipher

allowed TLS ciphers

◆ source_ssl_curves

std::string RoutingConfig::source_ssl_curves

allowed TLS curves

◆ source_ssl_dh_params

std::string RoutingConfig::source_ssl_dh_params

DH params.

◆ source_ssl_key

std::string RoutingConfig::source_ssl_key

Key file.

◆ source_ssl_mode

SslMode RoutingConfig::source_ssl_mode {}

SslMode of the client side connection.

◆ thread_stack_size

unsigned int RoutingConfig::thread_stack_size {}

thread stack size in kilobytes


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