MySQL 9.1.0
Source Code Documentation
s_mysql_event_tracking_lifecycle Struct Reference

More...

#include <event_tracking_lifecycle_service.h>

Public Attributes

mysql_service_status_t(* notify_startup )(const mysql_event_tracking_startup_data *data)
 Process a start-up event. More...
 
mysql_service_status_t(* notify_shutdown )(const mysql_event_tracking_shutdown_data *data)
 Process a shutdown event. More...
 

Detailed Description

A service to track and consume program lifecycle events.

Producer of the event will broadcast notify all interested consumers of the event.

See also
EVENT_TRACKING_LIFECYCLE_CONSUMER_EXAMPLE

Member Data Documentation

◆ notify_shutdown

mysql_service_status_t(* s_mysql_event_tracking_lifecycle::notify_shutdown) (const mysql_event_tracking_shutdown_data *data)

Process a shutdown event.

Parameters
[in]dataEvent specific data
Returns
Status of processing the event
Return values
falseSuccess
trueError

◆ notify_startup

mysql_service_status_t(* s_mysql_event_tracking_lifecycle::notify_startup) (const mysql_event_tracking_startup_data *data)

Process a start-up event.

Parameters
[in]dataEvent specific data
Returns
Status of processing the event
Return values
falseSuccess
trueError

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