tntdb 1.4
tntdb::ConnectionPool Class Reference

Public Types

typedef PoolType::Ptr PoolObjectType
 

Public Member Functions

 ConnectionPool (const std::string &url, const std::string &username, const std::string &password, unsigned maxcount=0)
 
Connection connect ()
 
unsigned drop (unsigned keep=0)
 Release unused connections; keep the given number of connections.
 
unsigned getMaximumSize ()
 
void setMaximumSize (unsigned m)
 
unsigned getCurrentSize () const
 

Member Function Documentation

◆ drop()

unsigned tntdb::ConnectionPool::drop ( unsigned keep = 0)

Release unused connections; keep the given number of connections.


The documentation for this class was generated from the following file: