MySQL 9.1.0
Source Code Documentation
|
This is a wrapper class around global free functions implemented by connection handler plugins (e.g. More...
#include <plugin_connection_handler.h>
Public Member Functions | |
Plugin_connection_handler (Connection_handler_functions *functions) | |
~Plugin_connection_handler () override | |
Protected Member Functions | |
bool | add_connection (Channel_info *channel_info) override |
Add a connection. More... | |
uint | get_max_threads () const override |
Protected Member Functions inherited from Connection_handler | |
Connection_handler ()=default | |
virtual | ~Connection_handler ()=default |
Private Member Functions | |
Plugin_connection_handler (const Plugin_connection_handler &) | |
Plugin_connection_handler & | operator= (const Plugin_connection_handler &) |
Private Attributes | |
Connection_handler_functions * | m_functions |
This is a wrapper class around global free functions implemented by connection handler plugins (e.g.
thread pool). So instead of plugins implementing a Connection_handler subclass, they supply a set of function pointers to my_connection_handler_set() which instantiates Plugin_connection_handler.
|
private |
|
inline |
|
inlineoverride |
|
inlineoverrideprotectedvirtual |
Add a connection.
channel_info | Pointer to the Channel_info object. |
Implements Connection_handler.
|
inlineoverrideprotectedvirtual |
Implements Connection_handler.
|
private |
|
private |