MySQL 8.0.39
Source Code Documentation
|
Template that defines whether a notification shall make the engine stop or not. More...
#include <gcs_xcom_notification.h>
Public Member Functions | |
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 | |
virtual void | do_execute ()=0 |
Method that must be implemented buy the different types of notifications. More... | |
Parameterized_notification (Parameterized_notification const &) | |
Parameterized_notification & | operator= (Parameterized_notification const &) |
Template that defines whether a notification shall make the engine stop or not.
class X_notification : public Paremetrized_notification<true> { public: void do_execute() { Do something. } }
|
explicitdefault |
Constructor for Parameterized_notification.
|
overridedefault |
Destructor for Parameterized_notification.
|
private |
|
privatepure virtual |
Method that must be implemented buy the different types of notifications.
Implemented in Finalize_notification, Initialize_notification, Data_notification, Status_notification, Global_view_notification, Local_view_notification, Control_notification, Expel_notification, and Protocol_change_notification.
|
inlineoverridevirtual |
Task implemented by this notification which calls do_execute.
Return whether the notification should stop the engine or not.
Implements Gcs_xcom_notification.
|
private |