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