MySQL 8.0.40
Source Code Documentation
PFS_connection_transaction_visitor Class Reference

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

#include <pfs_visitor.h>

Inheritance diagram for PFS_connection_transaction_visitor:
[legend]

Public Member Functions

 PFS_connection_transaction_visitor (PFS_transaction_class *klass)
 Constructor. More...
 
 ~PFS_connection_transaction_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...
 
PFS_transaction_stat m_stat
 Transaction statistic collected. More...
 

Detailed Description

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

Member Data Documentation

◆ m_index

uint PFS_connection_transaction_visitor::m_index

EVENT_NAME instrument index.

◆ m_stat

PFS_transaction_stat PFS_connection_transaction_visitor::m_stat

Transaction statistic collected.


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