Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DBConnectionPool Class Reference

#include <dbstreamerfactory.hpp>

Collaboration diagram for DBConnectionPool:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base DBOBJ handler class. Provides its descendants with definition cache and OTL init/ terminate functionnalities top .

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 & Destructor Documentation

DBConnectionPool::DBConnectionPool  
 

Constructor. Inits private data members. Inits OTL.

Definition at line 210 of file dbstreamerfactory.cpp.

References DEBUG_CREATE.

DBConnectionPool::~DBConnectionPool  
 

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().


Member Function Documentation

otl_connect * DBConnectionPool::getConnection const char *    p_pszConnectionString
 

Definition at line 233 of file dbstreamerfactory.cpp.

References DEBUG_ECHO, DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), _DBPooledConnection::m_pOTLConnection, and _DBPooledConnection::m_uiUsage.

void DBConnectionPool::releaseConnection const char *    p_pszConnectionString
 

Definition at line 263 of file dbstreamerfactory.cpp.

References DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), and _DBPooledConnection::m_uiUsage.

void DBConnectionPool::setConnectionLifeTime unsigned long    p_lngConnectionLifeTime [static]
 

Definition at line 201 of file dbstreamerfactory.cpp.

References DEBUG_FUNC.

void DBConnectionPool::tick unsigned long    p_ulClock
 

Definition at line 294 of file dbstreamerfactory.cpp.

References DEBUG_FUNC, VAarray< DBPooledConnection * >::get(), _DBPooledConnection::m_uiUsage, _DBPooledConnection::m_ulTimeCreated, and VAarray< DBPooledConnection * >::size().


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:23:35 2003 for XDFLengine by doxygen1.3-rc2