MySQL 9.1.0
Source Code Documentation
|
Allows the obervers to register for notifications on the change in the state of the destination nodes. More...
#include <destination.h>
Public Member Functions | |
AllowedNodesChangeCallbacksListIterator | register_allowed_nodes_change_callback (const AllowedNodesChangedCallback &clb) |
Registers the callback for notification on the change in the state if the destination nodes. More... | |
void | unregister_allowed_nodes_change_callback (const AllowedNodesChangeCallbacksListIterator &it) |
Unregisters the callback registered with register_allowed_nodes_change_callback(). More... | |
void | register_start_router_socket_acceptor (const StartSocketAcceptorCallback &clb) |
Registers the callback for notification that the routing socket acceptor should accept new connections. More... | |
void | unregister_start_router_socket_acceptor () |
Unregisters the callback registered with register_start_router_socket_acceptor(). More... | |
void | register_stop_router_socket_acceptor (const StopSocketAcceptorCallback &clb) |
Registers the callback for notification that the routing socket acceptor should stop accepting new connections. More... | |
void | unregister_stop_router_socket_acceptor () |
Unregisters the callback registered with register_stop_router_socket_acceptor(). More... | |
void | register_md_refresh_callback (const MetadataRefreshCallback &callback) |
Registers a callback that is going to be used on metadata refresh. More... | |
void | unregister_md_refresh_callback () |
Unregisters the callback registered with register_md_refresh_callback(). More... | |
void | register_query_quarantined_destinations (const QueryQuarantinedDestinationsCallback &clb) |
Registers a callback that could be used for checking if the provided destination candidate is currently quarantined. More... | |
void | unregister_query_quarantined_destinations () |
Unregisters the callback registered with register_query_quarantined_destinations(). More... | |
Allows the obervers to register for notifications on the change in the state of the destination nodes.
AllowedNodesChangeCallbacksListIterator DestinationNodesStateNotifier::register_allowed_nodes_change_callback | ( | const AllowedNodesChangedCallback & | clb | ) |
Registers the callback for notification on the change in the state if the destination nodes.
clb | callback that should be called |
void DestinationNodesStateNotifier::register_md_refresh_callback | ( | const MetadataRefreshCallback & | callback | ) |
Registers a callback that is going to be used on metadata refresh.
callback | Callback that will be called on each metadata refresh. |
void DestinationNodesStateNotifier::register_query_quarantined_destinations | ( | const QueryQuarantinedDestinationsCallback & | clb | ) |
Registers a callback that could be used for checking if the provided destination candidate is currently quarantined.
clb | Callback to query unreachable destinations. |
void DestinationNodesStateNotifier::register_start_router_socket_acceptor | ( | const StartSocketAcceptorCallback & | clb | ) |
Registers the callback for notification that the routing socket acceptor should accept new connections.
clb | callback that should be called |
void DestinationNodesStateNotifier::register_stop_router_socket_acceptor | ( | const StopSocketAcceptorCallback & | clb | ) |
Registers the callback for notification that the routing socket acceptor should stop accepting new connections.
clb | callback that should be called |
void DestinationNodesStateNotifier::unregister_allowed_nodes_change_callback | ( | const AllowedNodesChangeCallbacksListIterator & | it | ) |
Unregisters the callback registered with register_allowed_nodes_change_callback().
it | iterator returned by the call to register_allowed_nodes_change_callback() |
void DestinationNodesStateNotifier::unregister_md_refresh_callback | ( | ) |
Unregisters the callback registered with register_md_refresh_callback().
void DestinationNodesStateNotifier::unregister_query_quarantined_destinations | ( | ) |
Unregisters the callback registered with register_query_quarantined_destinations().
void DestinationNodesStateNotifier::unregister_start_router_socket_acceptor | ( | ) |
Unregisters the callback registered with register_start_router_socket_acceptor().
void DestinationNodesStateNotifier::unregister_stop_router_socket_acceptor | ( | ) |
Unregisters the callback registered with register_stop_router_socket_acceptor().
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |