#include <dbstreamerfactory.hpp>
Collaboration diagram for DBConnectionPool:
Definition at line 166 of file dbstreamerfactory.hpp.
Public Methods | |
DBConnectionPool () | |
Constructor. Inits private data members. Inits OTL. | |
~DBConnectionPool () | |
Destructor. Destroys definitions from definition cache and releases private data members. Teminates OTL. | |
otl_connect * | getConnection (const char *p_pszConnectionString) |
void | releaseConnection (const char *p_pszConnectionString) |
void | tick (unsigned long p_ulClock) |
Static Public Methods | |
void | setConnectionLifeTime (unsigned long p_lngConnectionLifeTime) |
|
Constructor. Inits private data members. Inits OTL.
Definition at line 210 of file dbstreamerfactory.cpp. References DEBUG_CREATE. |
|
Destructor. Destroys definitions from definition cache and releases private data members. Teminates OTL.
Definition at line 219 of file dbstreamerfactory.cpp. References DEBUG_DEL, VAarray< DBPooledConnection * >::empty(), and VAarray< DBPooledConnection * >::pop(). |
|
Definition at line 233 of file dbstreamerfactory.cpp. References DEBUG_ECHO, DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), _DBPooledConnection::m_pOTLConnection, and _DBPooledConnection::m_uiUsage. |
|
Definition at line 263 of file dbstreamerfactory.cpp. References DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), and _DBPooledConnection::m_uiUsage. |
|
Definition at line 201 of file dbstreamerfactory.cpp. References DEBUG_FUNC. |
|
Definition at line 294 of file dbstreamerfactory.cpp. References DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), _DBPooledConnection::m_uiUsage, _DBPooledConnection::m_ulTimeCreated, and VAarray< DBPooledConnection * >::size(). |