MySQL 9.1.0
Source Code Documentation
|
#include <connection_pool.h>
Public Member Functions | |
ConnectionCloser (ConnectionPool::ServerSideConnection conn) | |
void | async_close () |
void | async_send_quit () |
void | await_quit_response (std::error_code ec, size_t transferred) |
ConnectionPool::ServerSideConnection & | connection () |
void | before_close (std::function< void(const ConnectionPool::ServerSideConnection &)> cb) |
Private Attributes | |
ConnectionPool::ServerSideConnection | conn_ |
std::function< void(const ConnectionPool::ServerSideConnection &)> | before_close_ |
|
inline |
void ConnectionPool::ConnectionCloser::async_close | ( | ) |
void ConnectionPool::ConnectionCloser::async_send_quit | ( | ) |
void ConnectionPool::ConnectionCloser::await_quit_response | ( | std::error_code | ec, |
size_t | transferred | ||
) |
|
inline |
|
inline |
|
private |
|
private |