MySQL 8.4.2
Source Code Documentation
Event_tracking_implementation::Event_tracking_lifecycle_implementation Class Reference

Implementation helper class for lifecycle events. More...

#include <event_tracking_lifecycle_consumer_helper.h>

Static Public Member Functions

static bool callback (const mysql_event_tracking_startup_data *data)
 Callback function - To be implemented by component to handle an event. More...
 
static bool callback (const mysql_event_tracking_shutdown_data *data)
 Callback function - To be implemented by component to handle an event. More...
 
static mysql_service_status_t notify_startup (const mysql_event_tracking_startup_data *data) noexcept
 event_tracking_lifecycle service implementation More...
 
static mysql_service_status_t notify_shutdown (const mysql_event_tracking_shutdown_data *data) noexcept
 event_tracking_lifecycle service implementation More...
 

Static Public Attributes

static mysql_event_tracking_startup_subclass_t startup_filtered_sub_events
 Sub-events to be filtered/ignored - To be defined by the component. More...
 
static mysql_event_tracking_shutdown_subclass_t shutdown_filtered_sub_events
 Sub-events to be filtered/ignored - To be defined by the component. More...
 

Detailed Description

Implementation helper class for lifecycle events.

Member Function Documentation

◆ callback() [1/2]

static bool Event_tracking_implementation::Event_tracking_lifecycle_implementation::callback ( const mysql_event_tracking_shutdown_data data)
static

Callback function - To be implemented by component to handle an event.

◆ callback() [2/2]

static bool Event_tracking_implementation::Event_tracking_lifecycle_implementation::callback ( const mysql_event_tracking_startup_data data)
static

Callback function - To be implemented by component to handle an event.

◆ notify_shutdown()

static mysql_service_status_t Event_tracking_implementation::Event_tracking_lifecycle_implementation::notify_shutdown ( const mysql_event_tracking_shutdown_data data)
inlinestaticnoexcept

event_tracking_lifecycle service implementation

Parameters
[in]dataData related to shutdown event
Returns
Status of operation
Return values
falseSuccess
trueFailure

◆ notify_startup()

static mysql_service_status_t Event_tracking_implementation::Event_tracking_lifecycle_implementation::notify_startup ( const mysql_event_tracking_startup_data data)
inlinestaticnoexcept

event_tracking_lifecycle service implementation

Parameters
[in]dataData related to startup event
Returns
Status of operation
Return values
falseSuccess
trueFailure

Member Data Documentation

◆ shutdown_filtered_sub_events

mysql_event_tracking_shutdown_subclass_t Event_tracking_implementation::Event_tracking_lifecycle_implementation::shutdown_filtered_sub_events
static

Sub-events to be filtered/ignored - To be defined by the component.

◆ startup_filtered_sub_events

mysql_event_tracking_startup_subclass_t Event_tracking_implementation::Event_tracking_lifecycle_implementation::startup_filtered_sub_events
static

Sub-events to be filtered/ignored - To be defined by the component.


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