MySQL 8.0.39
Source Code Documentation
Control_notification Class Reference

Notification used to make a node join or leave the cluster, provided the system was already initialized. More...

#include <gcs_xcom_notification.h>

Inheritance diagram for Control_notification:
[legend]

Public Member Functions

 Control_notification (xcom_control_functor *functor, Gcs_control_interface *control_if)
 Constructor for Control_notification. More...
 
 ~Control_notification () override
 Destructor for Control_notification. More...
 
- Public Member Functions inherited from Parameterized_notification< false >
 Parameterized_notification ()=default
 Constructor for Parameterized_notification. More...
 
 ~Parameterized_notification () override=default
 Destructor for Parameterized_notification. More...
 
bool operator() () override
 Task implemented by this notification which calls do_execute. More...
 
- Public Member Functions inherited from Gcs_xcom_notification
 Gcs_xcom_notification ()=default
 Constructor for Gcs_xcom_notification which an abstract class that represents notifications sent from XCOM to MySQL GCS. More...
 
virtual ~Gcs_xcom_notification ()=default
 Destructor for the Gcs_xcom_notification. More...
 

Private Member Functions

void do_execute () override
 Task implemented by this notification. More...
 
 Control_notification (Control_notification const &)
 
Control_notificationoperator= (Control_notification const &)
 

Private Attributes

xcom_control_functorm_functor
 
Gcs_control_interfacem_control_if
 

Detailed Description

Notification used to make a node join or leave the cluster, provided the system was already initialized.

Constructor & Destructor Documentation

◆ Control_notification() [1/2]

Control_notification::Control_notification ( xcom_control_functor functor,
Gcs_control_interface control_if 
)
explicit

Constructor for Control_notification.

Parameters
functorPointer to a function that contains that actual core of the execution.
control_ifReference to Control Interface.

◆ ~Control_notification()

Control_notification::~Control_notification ( )
overridedefault

Destructor for Control_notification.

◆ Control_notification() [2/2]

Control_notification::Control_notification ( Control_notification const &  )
private

Member Function Documentation

◆ do_execute()

void Control_notification::do_execute ( )
overrideprivatevirtual

Task implemented by this notification.

Implements Parameterized_notification< false >.

◆ operator=()

Control_notification & Control_notification::operator= ( Control_notification const &  )
private

Member Data Documentation

◆ m_control_if

Gcs_control_interface* Control_notification::m_control_if
private

◆ m_functor

xcom_control_functor* Control_notification::m_functor
private

The documentation for this class was generated from the following files: