MySQL 8.3.0
Source Code Documentation
destination.h File Reference
#include <atomic>
#include <cstdint>
#include <list>
#include <mutex>
#include <optional>
#include <string>
#include <system_error>
#include <vector>
#include "my_compiler.h"
#include "mysql/harness/net_ts/io_context.h"
#include "mysqlrouter/destination.h"
#include "mysqlrouter/destination_status_types.h"
#include "mysqlrouter/routing.h"
#include "protocol/protocol.h"
#include "tcp_address.h"

Go to the source code of this file.

Classes

class  DestinationNodesStateNotifier
 Allows the obervers to register for notifications on the change in the state of the destination nodes. More...
 
class  RouteDestination
 Manage destinations for a Connection Routing. More...
 

Namespaces

namespace  mysql_harness
 

Typedefs

using AllowedNodesChangedCallback = std::function< void(const AllowedNodes &, const AllowedNodes &, const bool, const std::string &)>
 
using AllowedNodesChangeCallbacksList = std::list< AllowedNodesChangedCallback >
 
using AllowedNodesChangeCallbacksListIterator = AllowedNodesChangeCallbacksList::iterator
 
using StartSocketAcceptorCallback = std::function< stdx::expected< void, std::string >()>
 
using StopSocketAcceptorCallback = std::function< void()>
 
using MetadataRefreshCallback = std::function< void(const bool, const AllowedNodes &)>
 
using QueryQuarantinedDestinationsCallback = std::function< bool(const mysql_harness::TCPAddress &)>
 

Typedef Documentation

◆ AllowedNodesChangeCallbacksList

◆ AllowedNodesChangeCallbacksListIterator

using AllowedNodesChangeCallbacksListIterator = AllowedNodesChangeCallbacksList::iterator

◆ AllowedNodesChangedCallback

using AllowedNodesChangedCallback = std::function<void(const AllowedNodes &, const AllowedNodes &, const bool, const std::string &)>

◆ MetadataRefreshCallback

using MetadataRefreshCallback = std::function<void(const bool, const AllowedNodes &)>

◆ QueryQuarantinedDestinationsCallback

◆ StartSocketAcceptorCallback

using StartSocketAcceptorCallback = std::function<stdx::expected<void, std::string>()>

◆ StopSocketAcceptorCallback

using StopSocketAcceptorCallback = std::function<void()>