MySQL 8.0.40
Source Code Documentation
Find_THD_Impl Class Referenceabstract

Base class to find specific thd from the thd list. More...

#include <mysqld_thd_manager.h>

Inheritance diagram for Find_THD_Impl:
[legend]

Public Member Functions

virtual ~Find_THD_Impl ()=default
 
virtual bool operator() (THD *thd)=0
 Override this operator to provide implementation to find specific thd. More...
 

Detailed Description

Base class to find specific thd from the thd list.

Users of find_thd() need to subclass this and override operator() to provide implementation to find thd from thd list.

Constructor & Destructor Documentation

◆ ~Find_THD_Impl()

virtual Find_THD_Impl::~Find_THD_Impl ( )
virtualdefault

Member Function Documentation

◆ operator()()

virtual bool Find_THD_Impl::operator() ( THD thd)
pure virtual

Override this operator to provide implementation to find specific thd.

Parameters
thdTHD of one element in global thread list
Returns
bool
Return values
truefor matching thd false otherwise

Implemented in Find_thd_with_id, Find_thd_query_lock, Find_zombie_dump_thread, Find_THD_variable, and Find_thd_user_var.


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