Skip to content

Class cubpl::connection_pool

ClassList > cubpl > connection_pool

  • #include <pl_connection.hpp>

Public Functions

Type Name
connection_view claim ()
connection_pool () = delete
connection_pool (int pool_size, const std::string & db_name, int pl_port=-2, bool is_for_sys=false)
connection_pool (connection_pool && other) = delete
connection_pool (const connection_pool & copy) = delete
const char * get_db_name () const
int get_db_port () const
int get_epoch () const
int get_pool_size () const
void increment_epoch ()
bool is_system_pool () const
connection_pool & operator= (connection_pool && other) = delete
connection_pool & operator= (const connection_pool & copy) = delete
void retire (connection * claimed)
void set_db_port (int port)
~connection_pool ()

Public Functions Documentation

function claim

connection_view cubpl::connection_pool::claim () 

function connection_pool [1/5]

cubpl::connection_pool::connection_pool () = delete

function connection_pool [2/5]

explicit cubpl::connection_pool::connection_pool (
    int pool_size,
    const std::string & db_name,
    int pl_port=-2,
    bool is_for_sys=false
) 

function connection_pool [3/5]

cubpl::connection_pool::connection_pool (
    connection_pool && other
) = delete

function connection_pool [4/5]

cubpl::connection_pool::connection_pool (
    const  connection_pool & copy
) = delete

function get_db_name

const  char * cubpl::connection_pool::get_db_name () const

function get_db_port

int cubpl::connection_pool::get_db_port () const

function get_epoch

int cubpl::connection_pool::get_epoch () const

function get_pool_size

int cubpl::connection_pool::get_pool_size () const

function increment_epoch

void cubpl::connection_pool::increment_epoch () 

function is_system_pool

bool cubpl::connection_pool::is_system_pool () const

function operator=

connection_pool & cubpl::connection_pool::operator= (
    connection_pool && other
) = delete

function operator=

connection_pool & cubpl::connection_pool::operator= (
    const  connection_pool & copy
) = delete

function retire

void cubpl::connection_pool::retire (
    connection * claimed
) 

function set_db_port

void cubpl::connection_pool::set_db_port (
    int port
) 

function ~connection_pool

cubpl::connection_pool::~connection_pool () 


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