Classes | Public Member Functions | Private Attributes | List of all members
soci::connection_pool Class Reference

#include <connection-pool.h>

Classes

struct  connection_pool_impl
 

Public Member Functions

sessionat (std::size_t pos)
 
 connection_pool (std::size_t size)
 
void give_back (std::size_t pos)
 
std::size_t lease ()
 
bool try_lease (std::size_t &pos, int timeout)
 
 ~connection_pool ()
 

Private Attributes

connection_pool_implpimpl_
 

Detailed Description

Definition at line 20 of file connection-pool.h.

Constructor & Destructor Documentation

connection_pool::connection_pool ( std::size_t  size)
explicit

Definition at line 46 of file connection-pool.cpp.

connection_pool::~connection_pool ( )

Definition at line 73 of file connection-pool.cpp.

Member Function Documentation

session & connection_pool::at ( std::size_t  pos)

Definition at line 86 of file connection-pool.cpp.

void connection_pool::give_back ( std::size_t  pos)

Definition at line 167 of file connection-pool.cpp.

std::size_t connection_pool::lease ( )

Definition at line 96 of file connection-pool.cpp.

bool connection_pool::try_lease ( std::size_t &  pos,
int  timeout 
)

Definition at line 111 of file connection-pool.cpp.

Member Data Documentation

connection_pool_impl* soci::connection_pool::pimpl_
private

Definition at line 33 of file connection-pool.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41