MySQL 9.7.0
Source Code Documentation
applier_metrics Namespace Reference

Classes

class  Applier_metrics_table_with_cursor
 Implementation of the replication_applier_metrics table. More...
 
class  Worker_metrics_table_with_cursor
 Implementation of the replication_applier_progress_by_worker table. More...
 

Functions

PFS_engine_table_share_proxyget_applier_metrics_table_share ()
 Return the table share for the replication_applier_metrics table. More...
 
static mysql_service_status_t applier_metrics_init ()
 Component's init function. More...
 
static mysql_service_status_t applier_metrics_deinit ()
 Component's deinit functions. More...
 
bool register_pfs_tables ()
 Register PFS tables in the server. More...
 
bool unregister_pfs_tables ()
 Removes the registered PFS tables in the server. More...
 
PFS_engine_table_share_proxyget_worker_metrics_table_share ()
 Return the table share for the replication_applier_progress_by_worker table. More...
 

Variables

static PFS_engine_table_share_proxyshare_list [2]
 

Function Documentation

◆ applier_metrics_deinit()

static mysql_service_status_t applier_metrics::applier_metrics_deinit ( )
static

Component's deinit functions.

Deregisters everything that was registered by init.

Returns
status
Return values
1Error
0Success

◆ applier_metrics_init()

static mysql_service_status_t applier_metrics::applier_metrics_init ( )
static

Component's init function.

Any failure will result into deregistering already registered parts

Returns
status of initialization
Return values
1Error
0Success

◆ get_applier_metrics_table_share()

PFS_engine_table_share_proxy * applier_metrics::get_applier_metrics_table_share ( )

Return the table share for the replication_applier_metrics table.

Return the object that defines the replication_applier_metrics table.

Returns
pointer to a statically allocated PFS_engine_table_share_proxy object.

◆ get_worker_metrics_table_share()

PFS_engine_table_share_proxy * applier_metrics::get_worker_metrics_table_share ( )

Return the table share for the replication_applier_progress_by_worker table.

Return the object that defines the replication_applier_progress_by_worker table.

Returns
pointer to a statically allocated PFS_engine_table_share_proxy object.

◆ register_pfs_tables()

bool applier_metrics::register_pfs_tables ( )

Register PFS tables in the server.

Returns
true if an error occurs

◆ unregister_pfs_tables()

bool applier_metrics::unregister_pfs_tables ( )

Removes the registered PFS tables in the server.

Returns
true if an error occurs

Variable Documentation

◆ share_list

PFS_engine_table_share_proxy* applier_metrics::share_list[2]
static