MySQL 9.1.0
Source Code Documentation
Applier_metrics_service_handler Class Reference

#include <applier_metrics_service_imp.h>

Static Public Member Functions

static mysql_service_status_t get_applier_metrics (Applier_metrics_table *table) noexcept
 Get metrics for the replication applier. More...
 
static void free_applier_metrics (Applier_metrics_table *table) noexcept
 Free memory for object holding metrics for the replication applier. More...
 
static mysql_service_status_t get_worker_metrics (Worker_metrics_table *table) noexcept
 Get metrics for replication workers. More...
 
static void free_worker_metrics (Worker_metrics_table *table) noexcept
 Free memory for object holding metrics for the replication workers. More...
 
static mysql_service_status_t enable_metric_collection () noexcept
 Enables metric collection in the server for replication applier components. More...
 
static mysql_service_status_t disable_metric_collection () noexcept
 Enables metric collection in the server for replication applier components. More...
 

Member Function Documentation

◆ disable_metric_collection()

mysql_service_status_t Applier_metrics_service_handler::disable_metric_collection ( )
staticnoexcept

Enables metric collection in the server for replication applier components.

Returns
Return values
FALSESucceeded.
TRUEFailed.

◆ enable_metric_collection()

mysql_service_status_t Applier_metrics_service_handler::enable_metric_collection ( )
staticnoexcept

Enables metric collection in the server for replication applier components.

Returns
Return values
FALSESucceeded.
TRUEFailed.

◆ free_applier_metrics()

void Applier_metrics_service_handler::free_applier_metrics ( Applier_metrics_table table)
staticnoexcept

Free memory for object holding metrics for the replication applier.

Parameters
[out]tablePointer to object that was previously retrieved from get_applier_metrics.

◆ free_worker_metrics()

void Applier_metrics_service_handler::free_worker_metrics ( Worker_metrics_table table)
staticnoexcept

Free memory for object holding metrics for the replication workers.

Parameters
[out]tablePointer to object that was previously retrieved from get_worker_metrics.

◆ get_applier_metrics()

mysql_service_status_t Applier_metrics_service_handler::get_applier_metrics ( Applier_metrics_table table)
staticnoexcept

Get metrics for the replication applier.

Parameters
[out]tablepointer, whose value will be set to an array of arrays of fields in which the metric values are stored.
Returns
Return values
FALSESucceeded.
TRUEFailed.

◆ get_worker_metrics()

mysql_service_status_t Applier_metrics_service_handler::get_worker_metrics ( Worker_metrics_table table)
staticnoexcept

Get metrics for replication workers.

Parameters
[out]tablepointer, whose value will be set to an array of arrays of fields in which the metric values are stored.
Returns
Return values
FALSESucceeded.
TRUEFailed.

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