CppDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions
cppdb::connections_manager Class Reference

This class is the major gateway to new connections. More...

#include <cppdb/conn_manager.h>

List of all members.

Public Member Functions

ref_ptr< backend::connectionopen (std::string const &cs)
ref_ptr< backend::connectionopen (connection_info const &ci)
void gc ()

Static Public Member Functions

static connections_managerinstance ()

Detailed Description

This class is the major gateway to new connections.

It handles connection pools and forwards request to the drivers.

This class member functions are thread safe


Member Function Documentation

Collect all connections that were not used for long time and close them.

Get a singleton instance of the class

Create a new connection using connection string cs

Create a new connection using parsed connection string ci


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator