dmlite
0.6
|
Holder of mysql connections, base class singleton holding the mysql conn pool. More...
#include <mysqlpools.h>
Public Member Functions | |
~MySqlHolder () | |
Static Public Member Functions | |
static dmlite::PoolContainer < MysqlWrap * > & | getMySqlPool () |
static bool | configure (const std::string &key, const std::string &value) |
static void | configure (std::string host, std::string username, std::string password, int port, int poolsize) |
Private Member Functions | |
MySqlHolder () | |
Static Private Member Functions | |
static MySqlHolder * | getInstance () |
Private Attributes | |
int | poolsize |
MySqlConnectionFactory | connectionFactory_ |
Connection factory. More... | |
Static Private Attributes | |
static MySqlHolder * | instance |
static dmlite::PoolContainer < MysqlWrap * > * | connectionPool_ |
Connection pool. More... | |
Holder of mysql connections, base class singleton holding the mysql conn pool.
dmlite::MySqlHolder::~MySqlHolder | ( | ) |
|
private |
|
static |
|
static |
|
staticprivate |
|
static |
|
private |
Connection factory.
|
staticprivate |
Connection pool.
|
staticprivate |
|
private |