MySQL 8.4.2
Source Code Documentation
|
Notification used to inform that data has been totally ordered. More...
#include <gcs_xcom_notification.h>
Public Member Functions | |
Data_notification (xcom_receive_data_functor *functor, synode_no message_id, synode_no origin, Gcs_xcom_nodes *xcom_nodes, synode_no last_removed, u_int size, char *data) | |
Constructor for Data_notification. More... | |
~Data_notification () override | |
Destructor for Data_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 which calls the functor with the parameters provided in the constructor. More... | |
Data_notification (Data_notification const &) | |
Data_notification & | operator= (Data_notification const &) |
Private Attributes | |
xcom_receive_data_functor * | m_functor |
synode_no | m_message_id |
synode_no | m_origin |
Gcs_xcom_nodes * | m_xcom_nodes |
synode_no | m_last_removed |
u_int | m_size |
char * | m_data |
Notification used to inform that data has been totally ordered.
|
explicit |
Constructor for Data_notification.
functor | Pointer to a function that contains that actual core of the execution. |
message_id | Messaged Id. |
origin | XCom synod of origin. |
xcom_nodes | Set of nodes that participated in the consensus to deliver the message. |
size | Size of the message's content. |
last_removed | The synode_no of the last message removed from the XCom cache. Used to update the suspicions manager. |
data | This is the message's content. |
|
overridedefault |
Destructor for Data_notification.
|
private |
|
overrideprivatevirtual |
Task implemented by this notification which calls the functor with the parameters provided in the constructor.
Implements Parameterized_notification< false >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |