add(const char *dbaddr, const char *dbname, const char *dbuser, const char *dbpass, size_t dblimit=64, unsigned long dbflags=0, bool auto_commit=true, int conn_timeout=60, int rw_timeout=60, const char *charset="utf8") | acl::mysql_manager | |
add(const mysql_conf &conf) | acl::mysql_manager | |
add_pool(const char *addr) | acl::connect_manager | protected |
addrs_ | acl::connect_manager | protected |
bind_thread(bool yes) | acl::connect_manager | |
check_idle(size_t step, size_t *left=NULL) | acl::connect_manager | |
check_inter_ | acl::connect_manager | protected |
connect_manager(void) | acl::connect_manager | |
create_pool(const char *addr, size_t count, size_t idx) | acl::mysql_manager | protectedvirtual |
acl::connect_manager::create_pool(const conn_config &cf, size_t idx) | acl::connect_manager | protected |
create_pools_for(pools_t &pools) | acl::connect_manager | protected |
default_addr_ | acl::connect_manager | protected |
default_pool_ | acl::connect_manager | protected |
get(const char *addr, bool exclusive=true, bool restore=false) | acl::connect_manager | |
get_addr(const char *key, string &addr) | acl::connect_manager | protected |
get_config(const char *addr, bool use_first=false) | acl::connect_manager | |
get_default_pool(void) | acl::connect_manager | inline |
get_id(void) const | acl::connect_manager | protected |
get_key(const char *addr, string &key) | acl::connect_manager | protected |
get_pools(void) | acl::connect_manager | |
get_pools_by_id(unsigned long id) | acl::connect_manager | protected |
init(const char *default_addr, const char *addr_list, size_t count, int conn_timeout=30, int rw_timeout=30) | acl::connect_manager | |
lock(void) | acl::connect_manager | |
lock_ | acl::connect_manager | protected |
manager_ | acl::connect_manager | protected |
manager_cit typedef | acl::connect_manager | protected |
manager_it typedef | acl::connect_manager | protected |
manager_t typedef | acl::connect_manager | protected |
monitor_ | acl::connect_manager | protected |
mysql_manager(time_t idle_ttl=120) | acl::mysql_manager | |
noncopyable() | acl::acl::noncopyable | inlineprotected |
peek(void) | acl::connect_manager | virtual |
peek(const char *key, bool exclusive=true) | acl::connect_manager | virtual |
pools_cit typedef | acl::connect_manager | protected |
pools_it typedef | acl::connect_manager | protected |
pools_t typedef | acl::connect_manager | protected |
remove(const char *addr) | acl::connect_manager | |
remove(pools_t &pools, const char *addr) | acl::connect_manager | protected |
retry_inter_ | acl::connect_manager | protected |
set(const char *addr, size_t count, int conn_timeout=30, int rw_timeout=30) | acl::connect_manager | |
set_check_inter(int n) | acl::connect_manager | |
set_idle_ttl(time_t ttl) | acl::connect_manager | |
set_pools_status(const char *addr, bool alive) | acl::connect_manager | |
set_retry_inter(int n) | acl::connect_manager | |
set_service_list(const char *addr_list, int count, int conn_timeout, int rw_timeout) | acl::connect_manager | protected |
set_status(pools_t &pools, const char *addr, bool alive) | acl::connect_manager | protected |
size(void) const | acl::connect_manager | |
start_monitor(connect_monitor *monitor) | acl::connect_manager | |
stat_inter_ | acl::connect_manager | protected |
statistics(void) | acl::connect_manager | |
stop_monitor(bool graceful=true) | acl::connect_manager | |
thread_binding_ | acl::connect_manager | protected |
thread_onexit(void *ctx) | acl::connect_manager | protectedstatic |
thread_oninit(void) | acl::connect_manager | protectedstatic |
unlock(void) | acl::connect_manager | |
~connect_manager(void) | acl::connect_manager | virtual |
~mysql_manager() | acl::mysql_manager | |
~noncopyable() | acl::acl::noncopyable | inlineprotected |