MySQL 8.4.2
Source Code Documentation
|
Class representing a single entry (destination) in quarantined destination set. More...
Public Types | |
enum class | Function { kInitDestination , kConnectFinish } |
using | server_protocol_type = net::ip::tcp |
Public Attributes | |
net::io_context * | io_ctx_ |
mysql_harness::TCPAddress | address_ |
std::vector< std::string > | referencing_routing_instances_ |
std::chrono::seconds | quarantine_interval_ |
net::steady_timer | timer_ |
net::ip::tcp::resolver::results_type | endpoints_ |
net::ip::tcp::resolver::results_type::iterator | endpoints_it_ |
server_protocol_type::socket | server_sock_ {*io_ctx_} |
server_protocol_type::endpoint | server_endpoint_ |
bool | connect_timed_out_ {false} |
bool | connected_ {false} |
Function | func_ {Function::kInitDestination} |
std::error_code | last_ec_ |
std::function< void()> | on_delete_ |
std::function< void()> | on_connect_ok_ |
Class representing a single entry (destination) in quarantined destination set.
Each destination has its own timer responsible for doing asynchronous availability checks and a list of names of routing instances that currently reference this destination candidate.
using UnreachableDestinationsQuarantine::Unreachable_destination_candidate::server_protocol_type = net::ip::tcp |
|
inline |
UnreachableDestinationsQuarantine::Unreachable_destination_candidate::~Unreachable_destination_candidate | ( | ) |
|
default |
|
delete |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connect | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connect_finish | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connect_init | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connected | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::init_endpoint | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::next_endpoint | ( | ) |
|
delete |
|
default |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::resolve | ( | ) |
stdx::expected< void, std::error_code > UnreachableDestinationsQuarantine::Unreachable_destination_candidate::try_connect | ( | ) |
mysql_harness::TCPAddress UnreachableDestinationsQuarantine::Unreachable_destination_candidate::address_ |
bool UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connect_timed_out_ {false} |
bool UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connected_ {false} |
net::ip::tcp::resolver::results_type UnreachableDestinationsQuarantine::Unreachable_destination_candidate::endpoints_ |
net::ip::tcp::resolver::results_type::iterator UnreachableDestinationsQuarantine::Unreachable_destination_candidate::endpoints_it_ |
Function UnreachableDestinationsQuarantine::Unreachable_destination_candidate::func_ {Function::kInitDestination} |
net::io_context* UnreachableDestinationsQuarantine::Unreachable_destination_candidate::io_ctx_ |
std::error_code UnreachableDestinationsQuarantine::Unreachable_destination_candidate::last_ec_ |
std::function<void()> UnreachableDestinationsQuarantine::Unreachable_destination_candidate::on_connect_ok_ |
std::function<void()> UnreachableDestinationsQuarantine::Unreachable_destination_candidate::on_delete_ |
std::chrono::seconds UnreachableDestinationsQuarantine::Unreachable_destination_candidate::quarantine_interval_ |
std::vector<std::string> UnreachableDestinationsQuarantine::Unreachable_destination_candidate::referencing_routing_instances_ |
server_protocol_type::endpoint UnreachableDestinationsQuarantine::Unreachable_destination_candidate::server_endpoint_ |
server_protocol_type::socket UnreachableDestinationsQuarantine::Unreachable_destination_candidate::server_sock_ {*io_ctx_} |
net::steady_timer UnreachableDestinationsQuarantine::Unreachable_destination_candidate::timer_ |