MySQL 9.1.0
Source Code Documentation
Expel_notification Class Reference

Notification used to inform that the node has been expelled or is about to be. More...

#include <gcs_xcom_notification.h>

Inheritance diagram for Expel_notification:
[legend]

Public Member Functions

 Expel_notification (xcom_expel_functor *functor)
 Constructor for Expel_notification. More...
 
 ~Expel_notification () override
 Destructor for Expel_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...
 
 Expel_notification (Expel_notification const &)
 
Expel_notificationoperator= (Expel_notification const &)
 

Private Attributes

xcom_expel_functorm_functor
 

Detailed Description

Notification used to inform that the node has been expelled or is about to be.

Constructor & Destructor Documentation

◆ Expel_notification() [1/2]

Expel_notification::Expel_notification ( xcom_expel_functor functor)
explicit

Constructor for Expel_notification.

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

◆ ~Expel_notification()

Expel_notification::~Expel_notification ( )
overridedefault

Destructor for Expel_notification.

◆ Expel_notification() [2/2]

Expel_notification::Expel_notification ( Expel_notification const &  )
private

Member Function Documentation

◆ do_execute()

void Expel_notification::do_execute ( )
overrideprivatevirtual

Task implemented by this notification.

Implements Parameterized_notification< false >.

◆ operator=()

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

Member Data Documentation

◆ m_functor

xcom_expel_functor* Expel_notification::m_functor
private

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