MySQL 9.0.0
Source Code Documentation
|
#include <gr_notifications_listener.h>
Classes | |
struct | Impl |
Public Types | |
using | NotificationClb = std::function< void()> |
Public Member Functions | |
GRNotificationListener (const mysqlrouter::UserCredentials &user_credentials) | |
~GRNotificationListener () | |
GRNotificationListener (GRNotificationListener &)=delete | |
GRNotificationListener & | operator= (GRNotificationListener &)=delete |
void | setup (const metadata_cache::ClusterTopology &cluster_topology, const NotificationClb ¬ification_clb) |
Private Attributes | |
std::unique_ptr< Impl > | impl_ |
using GRNotificationListener::NotificationClb = std::function<void()> |
GRNotificationListener::GRNotificationListener | ( | const mysqlrouter::UserCredentials & | user_credentials | ) |
|
default |
|
delete |
|
delete |
void GRNotificationListener::setup | ( | const metadata_cache::ClusterTopology & | cluster_topology, |
const NotificationClb & | notification_clb | ||
) |
|
private |