|
| ConnectionPools (unsigned maxcount_=0) |
|
Connection | connect (const std::string &url, const std::string &username, const std::string &password) |
|
unsigned | drop (unsigned keep=0) |
| Release unused connections; keep the given number of connections. More...
|
|
unsigned | drop (const std::string &url, const std::string &username, const std::string &password, unsigned keep=0) |
| Release unused connections with the given database url; keep the given number of connections. More...
|
|
unsigned | getMaximumSize () |
|
void | setMaximumSize (unsigned m) |
|
unsigned | getCurrentSize (const std::string &url, const std::string &username, const std::string &password) const |
|
unsigned | getCurrentSize () const |
|
◆ drop() [1/2]
unsigned tntdb::ConnectionPools::drop |
( |
unsigned |
keep = 0 | ) |
|
Release unused connections; keep the given number of connections.
◆ drop() [2/2]
unsigned tntdb::ConnectionPools::drop |
( |
const std::string & |
url, |
|
|
const std::string & |
username, |
|
|
const std::string & |
password, |
|
|
unsigned |
keep = 0 |
|
) |
| |
Release unused connections with the given database url; keep the given number of connections.
The documentation for this class was generated from the following file: