MySQL 8.0.40
Source Code Documentation

A class to keep list of table shares for non-native performance schema tables i.e. More...

#include <pfs_engine_table.h>

Public Member Functions

 PFS_dynamic_table_shares ()=default
 
void init_mutex ()
 
void destroy_mutex ()
 
void lock_share_list ()
 
void unlock_share_list ()
 
void add_share (PFS_engine_table_share *share)
 
PFS_engine_table_sharefind_share (const char *table_name, bool is_dead_too)
 Find a share in the list. More...
 
void remove_share (PFS_engine_table_share *share)
 Remove a share from the list. More...
 

Private Attributes

std::vector< PFS_engine_table_share * > shares_vector
 
mysql_mutex_t LOCK_pfs_share_list
 

Detailed Description

A class to keep list of table shares for non-native performance schema tables i.e.

table created by plugins/components in performance schema.

Constructor & Destructor Documentation

◆ PFS_dynamic_table_shares()

PFS_dynamic_table_shares::PFS_dynamic_table_shares ( )
default

Member Function Documentation

◆ add_share()

void PFS_dynamic_table_shares::add_share ( PFS_engine_table_share share)
inline

◆ lock_share_list()

void PFS_dynamic_table_shares::lock_share_list ( )
inline

◆ unlock_share_list()

void PFS_dynamic_table_shares::unlock_share_list ( )
inline

Member Data Documentation

◆ LOCK_pfs_share_list

mysql_mutex_t PFS_dynamic_table_shares::LOCK_pfs_share_list
private

◆ shares_vector

std::vector<PFS_engine_table_share *> PFS_dynamic_table_shares::shares_vector
private

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