|
tntdb
1.3
|
Public Types | |
| typedef PoolType::Ptr | PoolObjectType |
Public Member Functions | |
| ConnectionPool (const std::string &url, unsigned maxcount=0) | |
| Connection | connect () |
| void | drop (unsigned keep=0) |
| Releases unused connections. More... | |
| unsigned | getMaximumSize () |
| void | setMaximumSize (unsigned m) |
| unsigned | getCurrentSize () const |
|
inline |
Releases unused connections.
Keeps the given number of connections.