Class cubconn::connection::pool¶
ClassList > cubconn > connection > pool
#include <connection_pool.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| std::size_t | m_claim |
| freelist * | m_head |
| std::size_t | m_max |
Public Functions¶
| Type | Name |
|---|---|
| context * | claim_context () |
| void | dispatch (css_conn_entry * conn) |
| void | finalize () |
| std::vector< std::unique_ptr< worker > > & | get_workers () |
| void | initialize (std::uint32_t max_connections, int max_connection_workers, int min_connection_workers) |
| void | lock_resource () |
| pool () |
|
| void | release_resource () |
| void | retire_context (context * ctx) |
| ~pool () |
Public Attributes Documentation¶
variable m_claim¶
variable m_head¶
variable m_max¶
Public Functions Documentation¶
function claim_context¶
function dispatch¶
function finalize¶
function get_workers¶
function initialize¶
void cubconn::connection::pool::initialize (
std::uint32_t max_connections,
int max_connection_workers,
int min_connection_workers
)
function lock_resource¶
function pool¶
function release_resource¶
function retire_context¶
function ~pool¶
The documentation for this class was generated from the following file cubrid/src/connection/connection_pool.hpp