|
tntdb
1.3
|
Public Types | |
| typedef ConnectionPool | PoolType |
|
typedef std::map< std::string, PoolType * > | PoolsType |
Public Member Functions | |
| ConnectionPools (unsigned maxcount_=0) | |
| Connection | connect (const std::string &url) |
| void | drop (unsigned keep=0) |
| Releases unused connections. More... | |
| void | drop (const std::string &url, unsigned keep=0) |
| Releases unused connections, which match the given url. More... | |
| unsigned | getMaximumSize () |
| void | setMaximumSize (unsigned m) |
| unsigned | getCurrentSize (const std::string &url) const |
| void tntdb::ConnectionPools::drop | ( | unsigned | keep = 0) |
Releases unused connections.
Keeps the given number of connections.
| void tntdb::ConnectionPools::drop | ( | const std::string & | url, |
| unsigned | keep = 0 |
||
| ) |
Releases unused connections, which match the given url.
Keeps the given number of connections.