MySQL 8.0.40
Source Code Documentation
|
#include <single_transaction_connection_provider.h>
Public Member Functions | |
Single_transaction_connection_provider (Mysql::Tools::Base::I_connection_factory *connection_factory, unsigned int connections, std::function< bool(const Mysql::Tools::Base::Message_data &)> *message_handler) | |
Mysql::Tools::Base::Mysql_query_runner * | create_new_runner (std::function< bool(const Mysql::Tools::Base::Message_data &)> *message_handler) override |
Public Member Functions inherited from Mysql::Tools::Dump::Thread_specific_connection_provider | |
Thread_specific_connection_provider (Mysql::Tools::Base::I_connection_factory *connection_factory) | |
~Thread_specific_connection_provider () override | |
Mysql::Tools::Base::Mysql_query_runner * | get_runner (std::function< bool(const Mysql::Tools::Base::Message_data &)> *message_handler) override |
Public Member Functions inherited from Mysql::Tools::Dump::I_connection_provider | |
virtual | ~I_connection_provider ()=default |
Private Attributes | |
std::vector< Mysql::Tools::Base::Mysql_query_runner * > | m_runner_pool |
std::mutex | m_pool_mutex |
unsigned int | m_connections |
Additional Inherited Members | |
Protected Member Functions inherited from Mysql::Tools::Dump::Abstract_connection_provider | |
Abstract_connection_provider (Mysql::Tools::Base::I_connection_factory *connection_factory) | |
Single_transaction_connection_provider::Single_transaction_connection_provider | ( | Mysql::Tools::Base::I_connection_factory * | connection_factory, |
unsigned int | connections, | ||
std::function< bool(const Mysql::Tools::Base::Message_data &)> * | message_handler | ||
) |
|
overridevirtual |
Reimplemented from Mysql::Tools::Dump::Abstract_connection_provider.
|
private |
|
private |
|
private |