MySQL 8.4.2
Source Code Documentation
Local_view_notification Class Reference

Notification used to provide hints on nodes' availability. More...

#include <gcs_xcom_notification.h>

Inheritance diagram for Local_view_notification:
[legend]

Public Member Functions

 Local_view_notification (xcom_local_view_functor *functor, synode_no config_id, Gcs_xcom_nodes *xcom_nodes, synode_no max_synode)
 Constructor for Local_view_notification. More...
 
 ~Local_view_notification () override
 Destructor for Local_view_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...
 
 Local_view_notification (Local_view_notification const &)
 
Local_view_notificationoperator= (Local_view_notification const &)
 

Private Attributes

xcom_local_view_functorm_functor
 
synode_no m_config_id
 
Gcs_xcom_nodesm_xcom_nodes
 
synode_no m_max_synode
 

Detailed Description

Notification used to provide hints on nodes' availability.

Constructor & Destructor Documentation

◆ Local_view_notification() [1/2]

Local_view_notification::Local_view_notification ( xcom_local_view_functor functor,
synode_no  config_id,
Gcs_xcom_nodes xcom_nodes,
synode_no  max_synode 
)
explicit

Constructor for Local_view_notification.

Parameters
functorPointer to a function that contains that actual core of the execution.
config_idConfiguration ID to which this view pertains to
xcom_nodesSet of nodes that were defined when the notification happened.
max_synodeXCom max synode

◆ ~Local_view_notification()

Local_view_notification::~Local_view_notification ( )
overridedefault

Destructor for Local_view_notification.

◆ Local_view_notification() [2/2]

Local_view_notification::Local_view_notification ( Local_view_notification const &  )
private

Member Function Documentation

◆ do_execute()

void Local_view_notification::do_execute ( )
overrideprivatevirtual

Task implemented by this notification.

Implements Parameterized_notification< false >.

◆ operator=()

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

Member Data Documentation

◆ m_config_id

synode_no Local_view_notification::m_config_id
private

◆ m_functor

xcom_local_view_functor* Local_view_notification::m_functor
private

◆ m_max_synode

synode_no Local_view_notification::m_max_synode
private

◆ m_xcom_nodes

Gcs_xcom_nodes* Local_view_notification::m_xcom_nodes
private

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