MySQL 8.0.40
Source Code Documentation
|
Notification service for the scheduler customers. More...
#include <mysql_scheduler.h>
Public Attributes | |
mysql_service_status_t(* | emit )(const char *what) |
Notification service for the scheduler customers.
The scheduler will broadcast this at important events of its operation that may be of interest to customers. Currently only supports STARTED event: When the scheduler starts some of its "customers" may be already loaded and have allowed delayed initialization. To avoid polling for scheduler implementations, the scheduler will broadcast to all implementations of this service at its startup so they can register their scheduled tasks. This is useful for e.g. customers loading prior to the scheduler and willing to register their tasks when the scheduler is present.
mysql_service_status_t(* s_mysql_mysql_scheduler_notify::emit) (const char *what) |
true | failure |
false | success |
what | Notification kind. One of: STARTED : the sheduler is open for service. Clients should re-try registering their tasks. |