MySQL 26.10.0
Source Code Documentation
hm::Report_Definition_Manager Class Reference

The Report_Definition_Manager keeps track of all the report definitions for a reporter. More...

#include <health_monitor_report_manager.h>

Public Member Functions

 Report_Definition_Manager ()=default
 
 ~Report_Definition_Manager ()=default
 
void update_settings (const char *)
 If there are new report definitions, the report manager will refresh its map of reports. More...
 
bool settings_changed (const char *)
 
Reports * reports ()
 

Static Public Member Functions

static bool settings_valid (const char *, rapidjson::Document *doc=nullptr)
 

Static Public Attributes

static Internal_Queries m_internal_queries
 

Private Attributes

const char * m_cfg = nullptr
 
Reports m_reports
 

Detailed Description

The Report_Definition_Manager keeps track of all the report definitions for a reporter.

If a new definition is assigned, through a global server variable, the Report_Definition_Manager will update its internal definition.

Constructor & Destructor Documentation

◆ Report_Definition_Manager()

hm::Report_Definition_Manager::Report_Definition_Manager ( )
default

◆ ~Report_Definition_Manager()

hm::Report_Definition_Manager::~Report_Definition_Manager ( )
default

Member Function Documentation

◆ reports()

Reports * hm::Report_Definition_Manager::reports ( )
inline

◆ settings_changed()

bool hm::Report_Definition_Manager::settings_changed ( const char *  cfg)

◆ settings_valid()

bool hm::Report_Definition_Manager::settings_valid ( const char *  ,
rapidjson::Document *  doc = nullptr 
)
static

◆ update_settings()

void hm::Report_Definition_Manager::update_settings ( const char *  cfg)

If there are new report definitions, the report manager will refresh its map of reports.

Member Data Documentation

◆ m_cfg

const char* hm::Report_Definition_Manager::m_cfg = nullptr
private

◆ m_internal_queries

Internal_Queries hm::Report_Definition_Manager::m_internal_queries
static

◆ m_reports

Reports hm::Report_Definition_Manager::m_reports
private

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