MySQL 9.0.0
Source Code Documentation
PFS_connection_error_visitor Class Reference

A concrete connection visitor that aggregates Error statistics for a given event_name. More...

#include <pfs_visitor.h>

Inheritance diagram for PFS_connection_error_visitor:
[legend]

Public Member Functions

 PFS_connection_error_visitor (PFS_error_class *klass, uint index)
 Constructor. More...
 
 ~PFS_connection_error_visitor () override
 
void visit_global () override
 Visit all connections. More...
 
void visit_host (PFS_host *pfs) override
 Visit all connections of a host. More...
 
void visit_account (PFS_account *pfs) override
 Visit all connections of a user+host. More...
 
void visit_user (PFS_user *pfs) override
 Visit all connections of a user. More...
 
void visit_thread (PFS_thread *pfs) override
 Visit a thread. More...
 
- Public Member Functions inherited from PFS_connection_visitor
 PFS_connection_visitor ()=default
 
virtual ~PFS_connection_visitor ()=default
 
virtual void visit_THD (THD *)
 Visit a THD associated with a thread. More...
 

Public Attributes

uint m_index
 EVENT_NAME instrument index. More...
 
uint m_error_index
 index of a specific error. More...
 
PFS_error_single_stat m_stat
 Error statistic collected. More...
 

Detailed Description

A concrete connection visitor that aggregates Error statistics for a given event_name.

Member Data Documentation

◆ m_error_index

uint PFS_connection_error_visitor::m_error_index

index of a specific error.

◆ m_index

uint PFS_connection_error_visitor::m_index

EVENT_NAME instrument index.

◆ m_stat

PFS_error_single_stat PFS_connection_error_visitor::m_stat

Error statistic collected.


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