MySQL 9.1.0
Source Code Documentation
|
Notification used to provide hints on nodes' availability. More...
#include <gcs_xcom_notification.h>
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_notification & | operator= (Local_view_notification const &) |
Private Attributes | |
xcom_local_view_functor * | m_functor |
synode_no | m_config_id |
Gcs_xcom_nodes * | m_xcom_nodes |
synode_no | m_max_synode |
Notification used to provide hints on nodes' availability.
|
explicit |
Constructor for Local_view_notification.
functor | Pointer to a function that contains that actual core of the execution. |
config_id | Configuration ID to which this view pertains to |
xcom_nodes | Set of nodes that were defined when the notification happened. |
max_synode | XCom max synode |
|
overridedefault |
Destructor for Local_view_notification.
|
private |
|
overrideprivatevirtual |
Task implemented by this notification.
Implements Parameterized_notification< false >.
|
private |
|
private |
|
private |
|
private |
|
private |