Skip to content

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

std::size_t cubconn::connection::pool::m_claim;

variable m_head

freelist* cubconn::connection::pool::m_head;

variable m_max

std::size_t cubconn::connection::pool::m_max;

Public Functions Documentation

function claim_context

context * cubconn::connection::pool::claim_context () 

function dispatch

void cubconn::connection::pool::dispatch (
    css_conn_entry * conn
) 

function finalize

void cubconn::connection::pool::finalize () 

function get_workers

std::vector< std::unique_ptr< worker > > & cubconn::connection::pool::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

void cubconn::connection::pool::lock_resource () 

function pool

cubconn::connection::pool::pool () 

function release_resource

void cubconn::connection::pool::release_resource () 

function retire_context

void cubconn::connection::pool::retire_context (
    context * ctx
) 

function ~pool

cubconn::connection::pool::~pool () 


The documentation for this class was generated from the following file cubrid/src/connection/connection_pool.hpp