![]() |
MySQL 9.2.0
Source Code Documentation
|
Class representing a single entry (destination) in quarantined destination set. More...
Public Types | |
enum class | Function { kInitDestination , kConnectFinish } |
Public Attributes | |
net::io_context * | io_ctx_ |
mysql_harness::Destination | dest_ |
std::vector< std::string > | referencing_routing_instances_ |
std::chrono::seconds | quarantine_interval_ |
net::steady_timer | timer_ |
std::vector< mysql_harness::DestinationEndpoint > | endpoints_ |
decltype(endpoints_) ::iterator | endpoints_it_ |
mysql_harness::DestinationSocket | server_sock_ |
mysql_harness::DestinationEndpoint | 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.
|
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 | ( | ) |
bool UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connect_timed_out_ {false} |
bool UnreachableDestinationsQuarantine::Unreachable_destination_candidate::connected_ {false} |
mysql_harness::Destination UnreachableDestinationsQuarantine::Unreachable_destination_candidate::dest_ |
std::vector<mysql_harness::DestinationEndpoint> UnreachableDestinationsQuarantine::Unreachable_destination_candidate::endpoints_ |
decltype(endpoints_) ::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_ |
mysql_harness::DestinationEndpoint UnreachableDestinationsQuarantine::Unreachable_destination_candidate::server_endpoint_ |
mysql_harness::DestinationSocket UnreachableDestinationsQuarantine::Unreachable_destination_candidate::server_sock_ |
net::steady_timer UnreachableDestinationsQuarantine::Unreachable_destination_candidate::timer_ |