MySQL 8.0.39
Source Code Documentation
|
Notification used to inform there have been change to the configuration, i.e. More...
#include <gcs_xcom_notification.h>
Public Member Functions | |
Global_view_notification (xcom_global_view_functor *functor, synode_no config_id, synode_no message_id, Gcs_xcom_nodes *xcom_nodes, xcom_event_horizon event_horizon, synode_no max_synode) | |
Constructor for Global_view_notification. More... | |
~Global_view_notification () override | |
Destructor for Global_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... | |
Global_view_notification (Global_view_notification const &) | |
Global_view_notification & | operator= (Global_view_notification const &) |
Private Attributes | |
xcom_global_view_functor * | m_functor |
synode_no | m_config_id |
synode_no | m_message_id |
Gcs_xcom_nodes * | m_xcom_nodes |
xcom_event_horizon | m_event_horizon |
synode_no | m_max_synode |
Notification used to inform there have been change to the configuration, i.e.
nodes have been added, removed or considered dead/faulty.
|
explicit |
Constructor for Global_view_notification.
functor | Pointer to a function that contains that actual core of the execution. |
config_id | Message Id when the configuration, i.e. nodes, was installed. |
message_id | Messaged Id. |
xcom_nodes | Set of nodes that participated in the consensus to deliver the message. |
event_horizon | the XCom configuration's event horizon |
max_synode | XCom max synode |
|
overridedefault |
Destructor for Global_view_notification.
|
private |
|
overrideprivatevirtual |
Task implemented by this notification.
Implements Parameterized_notification< false >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |