tntdb
1.2
|
Classes | |
class | Connector |
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. | |
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.