MySQL 26.7.0
Source Code Documentation
ib::Monitoring_interface Class Referenceabstract

Interface for repoting values of some INFORMATION_SCHEMA.INNODB_METRICS. More...

#include <srv0monitoring_interface.h>

Inheritance diagram for ib::Monitoring_interface:
[legend]

Public Member Functions

virtual ~Monitoring_interface ()=default
 Default destructor. More...
 
virtual std::optional< mon_type_tget_value (monitor_id_t id)=0
 Returns the value of given Innodb-specific monitor by id or std::nullopt if not supported. More...
 

Detailed Description

Interface for repoting values of some INFORMATION_SCHEMA.INNODB_METRICS.

Constructor & Destructor Documentation

◆ ~Monitoring_interface()

virtual ib::Monitoring_interface::~Monitoring_interface ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ get_value()

virtual std::optional< mon_type_t > ib::Monitoring_interface::get_value ( monitor_id_t  id)
pure virtual

Returns the value of given Innodb-specific monitor by id or std::nullopt if not supported.

Parameters
[in]idThe id of the monitor
Returns
The value for that monitor, or std::nullopt if not supported by implementation.

Implemented in ib::fil::Pages_persistence_monitoring.


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