26#ifndef MYSQLROUTER_DESTINATION_STATUS_COMPONENT_INCLUDED
27#define MYSQLROUTER_DESTINATION_STATUS_COMPONENT_INCLUDED
69 uint32_t qurantine_threshold);
77 void register_quarantine_callbacks(
82 void unregister_quarantine_callbacks();
89 void register_route(
const std::string &
name);
125 void stop_unreachable_destinations_quarantine();
143 void refresh_destinations_quarantine(
const std::string &instance_name,
144 const bool nodes_changed_on_md_refresh,
150 std::unique_ptr<UnreachableDestinationsQuarantine>
static mysql_service_status_t init()
Component initialization.
Definition: audit_api_message_emit.cc:571
Shared component representing status of the routing destinations.
Definition: destination_status_component.h:43
std::unique_ptr< UnreachableDestinationsQuarantine > unreachable_destinations_quarantine_
Definition: destination_status_component.h:151
void operator=(DestinationStatusComponent const &)=delete
DestinationStatusComponent(DestinationStatusComponent const &)=delete
~DestinationStatusComponent()
DestinationStatusComponent(DestinationStatusComponent &&)=delete
void operator=(DestinationStatusComponent &&)=delete
Information about unreachable destination candidates that is shared between plugin instances.
Definition: unreachable_destinations_quarantine.h:51
Definition: destination.h:95
#define DESTINATION_STATUS_EXPORT
Definition: destination_status_export.h:15
std::vector< AvailableDestination > AllowedNodes
Definition: destination_status_types.h:62
case opt name
Definition: sslopt-case.h:29
Definition: destination_status_types.h:35
double seconds()
Definition: task.cc:314