MySQL 8.0.40
Source Code Documentation
|
#include <mock_server_component.h>
Public Member Functions | |
MockServerComponent (MockServerComponent const &)=delete | |
void | operator= (MockServerComponent const &)=delete |
void | register_server (const std::string &name, std::shared_ptr< server_mock::MySQLServerMock > srv) |
std::shared_ptr< MockServerGlobalScope > | get_global_scope () |
void | close_all_connections () |
Static Public Member Functions | |
static MockServerComponent & | get_instance () |
Private Member Functions | |
MockServerComponent ()=default | |
Private Attributes | |
Monitor< std::map< std::string, std::weak_ptr< server_mock::MySQLServerMock > > > | srvs_ {{}} |
|
delete |
|
privatedefault |
void MockServerComponent::close_all_connections | ( | ) |
std::shared_ptr< MockServerGlobalScope > MockServerComponent::get_global_scope | ( | ) |
|
static |
|
delete |
void MockServerComponent::register_server | ( | const std::string & | name, |
std::shared_ptr< server_mock::MySQLServerMock > | srv | ||
) |
|
private |