MySQL  8.0.16
Source Code Documentation
Set_kill_conn Class Reference

This class implements callback function used by close_connections() to set KILL_CONNECTION flag on all thds in thd list. More...

Inheritance diagram for Set_kill_conn:
Do_THD_Impl

Public Member Functions

 Set_kill_conn ()
 
void set_dump_thread_flag ()
 
int get_dump_thread_count () const
 
virtual void operator() (THD *killing_thd)
 
- Public Member Functions inherited from Do_THD_Impl
virtual ~Do_THD_Impl ()
 

Private Attributes

int m_dump_thread_count
 
bool m_kill_dump_threads_flag
 

Detailed Description

This class implements callback function used by close_connections() to set KILL_CONNECTION flag on all thds in thd list.

If m_kill_dump_thread_flag is not set it kills all other threads except dump threads. If this flag is set, it kills dump threads.

Constructor & Destructor Documentation

◆ Set_kill_conn()

Set_kill_conn::Set_kill_conn ( )
inline

Member Function Documentation

◆ get_dump_thread_count()

int Set_kill_conn::get_dump_thread_count ( ) const
inline

◆ operator()()

virtual void Set_kill_conn::operator() ( THD killing_thd)
inlinevirtual

Implements Do_THD_Impl.

◆ set_dump_thread_flag()

void Set_kill_conn::set_dump_thread_flag ( )
inline

Member Data Documentation

◆ m_dump_thread_count

int Set_kill_conn::m_dump_thread_count
private

◆ m_kill_dump_threads_flag

bool Set_kill_conn::m_kill_dump_threads_flag
private

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