CUBRID Engine
latest
|
#include <broker_shm.h>
Definition at line 558 of file broker_shm.h.
bool t_shm_appl_server::access_control |
Definition at line 574 of file broker_shm.h.
Referenced by access_control_set_shm(), cas_main(), and proxy_process_client_register().
ACCESS_INFO t_shm_appl_server::access_info[ACL_MAX_ITEM_COUNT] |
Definition at line 635 of file broker_shm.h.
Referenced by access_control_check_right(), access_control_read_config_file(), admin_acl_status_cmd(), and record_ip_access_time().
char t_shm_appl_server::access_log |
Definition at line 560 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_main(), and proxy_process_client_register().
char t_shm_appl_server::access_log_file[CONF_LOG_FILE_LEN] |
Definition at line 592 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), and cas_access_log().
int t_shm_appl_server::access_log_max_size |
Definition at line 603 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and cas_access_log().
char t_shm_appl_server::access_mode |
Definition at line 568 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), report_abnormal_host_status(), and ux_database_connect().
int t_shm_appl_server::acl_chn |
Definition at line 625 of file broker_shm.h.
Referenced by access_control_check_right(), access_control_read_config_file(), access_control_set_shm(), and record_ip_access_time().
sem_t t_shm_appl_server::acl_sem |
Definition at line 632 of file broker_shm.h.
Referenced by access_control_check_right(), access_control_read_config_file(), access_control_set_shm(), br_inactivate(), and record_ip_access_time().
int t_shm_appl_server::appl_server_hard_limit |
Definition at line 612 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_free(), cas_main(), and cas_monitor_worker().
int t_shm_appl_server::appl_server_max_size |
Definition at line 611 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_free(), cas_main(), and restart_is_needed().
char t_shm_appl_server::appl_server_name[APPL_SERVER_NAME_MAX_SIZE] |
Definition at line 589 of file broker_shm.h.
Referenced by admin_restart_cmd(), as_activate(), broker_shm_initialize_shm_as(), and run_appl_server().
T_APPL_SERVER_INFO t_shm_appl_server::as_info[APPL_SERVER_NUM_LIMIT] |
Definition at line 641 of file broker_shm.h.
Referenced by admin_add_cmd(), admin_conf_change(), admin_del_cas_log(), admin_drop_cmd(), admin_reset_cmd(), admin_restart_cmd(), appl_monitor(), br_activate(), br_inactivate(), broker_add_new_cas(), broker_drop_one_cas_by_time_to_kill(), broker_shm_initialize_shm_as(), cas_init_shm(), cas_monitor_thr_f(), check_cas_log(), check_shard_as_conn(), connect_srv(), dispatch_thr_f(), find_add_as_index(), find_drop_as_index(), find_idle_cas(), hang_check_thr_f(), main(), net_read_int_keep_con_auto(), proxy_check_worker(), psize_check_thr_f(), receiver_thr_f(), server_monitor_thr_f(), set_monitor_items(), shard_broker_process(), shard_shm_dump_shard(), shard_shm_get_as_info(), shard_shm_set_param_as(), uc_as_info(), and uc_br_info().
char t_shm_appl_server::broker_name[BROKER_NAME_LEN] |
Definition at line 588 of file broker_shm.h.
Referenced by access_control_check_right(), access_control_read_config_file(), admin_acl_status_cmd(), as_activate(), br_inactivate(), broker_shm_initialize_shm_as(), cas_init(), cas_log_end(), cas_log_write(), cas_log_write2(), cas_log_write2_nonl(), cas_log_write_and_end(), cas_log_write_nonl(), cas_log_write_query_string_internal(), cas_log_write_value_string(), cas_main(), cas_slow_log_end(), cas_slow_log_write(), cas_slow_log_write2(), cas_slow_log_write_and_end(), cas_slow_log_write_query_string(), cas_slow_log_write_value_string(), check_shard_conn(), net_connect_proxy(), proxy_activate_internal(), proxy_log_end(), proxy_log_reset(), proxy_log_write(), record_ip_access_time(), and run_proxy_server().
int t_shm_appl_server::broker_port |
Definition at line 610 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), and proxy_io_initialize().
char t_shm_appl_server::cache_user_info |
Definition at line 565 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and ux_database_connect().
int t_shm_appl_server::cas_rctime |
Definition at line 626 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), need_reconnect_on_rctime(), and report_abnormal_host_status().
char t_shm_appl_server::cci_default_autocommit |
Definition at line 572 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), cas_main(), proxy_init_net_buf(), and shard_cas_main().
char t_shm_appl_server::cci_pconnect |
Definition at line 571 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_main(), and proxy_io_make_client_dbinfo_ok().
int t_shm_appl_server::connect_order |
Definition at line 576 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and ux_database_connect().
char t_shm_appl_server::db_connection_file[BROKER_INFO_PATH_MAX] |
Definition at line 593 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), cfg_get_dbinfo(), and cfg_read_dbinfo().
char t_shm_appl_server::err_log_dir[CONF_LOG_FILE_LEN] |
Definition at line 587 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_init(), and cas_main().
char t_shm_appl_server::error_log_file[CONF_LOG_FILE_LEN] |
Definition at line 599 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), and cas_log_debug().
char t_shm_appl_server::jdbc_cache |
Definition at line 569 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and get_client_result_cache_lifetime().
int t_shm_appl_server::jdbc_cache_life_time |
Definition at line 575 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and get_client_result_cache_lifetime().
char t_shm_appl_server::jdbc_cache_only_hint |
Definition at line 570 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and get_client_result_cache_lifetime().
T_MAX_HEAP_NODE t_shm_appl_server::job_queue[JOB_QUEUE_MAX_SIZE+1] |
Definition at line 637 of file broker_shm.h.
Referenced by broker_drop_one_cas_by_time_to_kill(), broker_shm_initialize_shm_as(), dispatch_thr_f(), print_monitor_items(), receiver_thr_f(), shard_dispatch_thr_f(), uc_as_info(), and uc_br_info().
int t_shm_appl_server::job_queue_size |
Definition at line 619 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), init_env(), and receiver_thr_f().
char t_shm_appl_server::keep_connection |
Definition at line 564 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_main(), and uc_br_info().
unsigned char t_shm_appl_server::local_ip_addr[4] |
Definition at line 594 of file broker_shm.h.
Referenced by access_control_check_right_internal(), and access_control_set_shm().
char t_shm_appl_server::log_dir[CONF_LOG_FILE_LEN] |
Definition at line 585 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_init(), cas_log_open(), and main().
int t_shm_appl_server::long_query_time |
Definition at line 621 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), fn_execute_array(), fn_execute_internal(), and print_monitor_items().
int t_shm_appl_server::long_transaction_time |
Definition at line 622 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_log_end(), fn_end_tran(), print_monitor_items(), and ux_auto_commit().
int t_shm_appl_server::magic |
Definition at line 609 of file broker_shm.h.
int t_shm_appl_server::max_num_delayed_hosts_lookup |
Definition at line 578 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and ux_database_connect().
int t_shm_appl_server::max_prepared_stmt_count |
Definition at line 623 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), hm_new_srv_handle(), and shard_cas_main().
int t_shm_appl_server::max_string_length |
Definition at line 618 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), fn_execute_internal(), fn_get_db_parameter(), prepare_column_list_info_set(), and ux_make_out_rs().
bool t_shm_appl_server::monitor_hang_flag |
Definition at line 629 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), proxy_set_hang_check_time(), proxy_unset_hang_check_time(), set_hang_check_time(), and unset_hang_check_time().
bool t_shm_appl_server::monitor_server_flag |
Definition at line 630 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), check_server_alive(), server_monitor_thr_f(), and unusable_databases_monitor().
int t_shm_appl_server::mysql_keepalive_interval |
Definition at line 616 of file broker_shm.h.
Referenced by admin_conf_change(), and broker_shm_initialize_shm_as().
int t_shm_appl_server::mysql_read_timeout |
Definition at line 615 of file broker_shm.h.
Referenced by admin_conf_change(), and broker_shm_initialize_shm_as().
int t_shm_appl_server::num_access_info |
Definition at line 624 of file broker_shm.h.
Referenced by access_control_check_right(), access_control_read_config_file(), and admin_acl_status_cmd().
int t_shm_appl_server::num_appl_server |
Definition at line 617 of file broker_shm.h.
Referenced by admin_add_cmd(), admin_conf_change(), admin_drop_cmd(), admin_reset_cmd(), br_activate(), broker_add_new_cas(), broker_drop_one_cas_by_time_to_kill(), broker_shm_initialize_shm_as(), cas_monitor_worker(), and shard_broker_process().
char t_shm_appl_server::port_name[SHM_APPL_SERVER_NAME_MAX] |
Definition at line 601 of file broker_shm.h.
Referenced by br_activate(), broker_shm_initialize_shm_as(), init_proxy_env(), and proxy_io_connect_to_broker().
char t_shm_appl_server::preferred_hosts[SHM_APPL_SERVER_NAME_MAX] |
Definition at line 590 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), server_monitor_thr_f(), and ux_database_connect().
char t_shm_appl_server::proxy_log_dir[CONF_LOG_FILE_LEN] |
Definition at line 600 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), check_proxy_log(), and make_proxy_log_filename().
int t_shm_appl_server::proxy_log_max_size |
Definition at line 602 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and proxy_log_end().
int t_shm_appl_server::query_timeout |
Definition at line 614 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and set_query_timeout().
int t_shm_appl_server::replica_only_flag |
Definition at line 577 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), and ux_database_connect().
int t_shm_appl_server::session_timeout |
Definition at line 613 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), net_read_header_keep_con_on(), net_read_int_keep_con_auto(), net_read_process(), and process_request().
T_SHARD_CONN_INFO t_shm_appl_server::shard_conn_info[SHARD_INFO_SIZE_LIMIT] |
Definition at line 639 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), check_shard_conn(), set_db_connection_info(), shard_cas_main(), shard_shm_set_param_proxy_internal(), and shard_shm_set_shard_conn_info().
char t_shm_appl_server::shard_flag |
Definition at line 573 of file broker_shm.h.
Referenced by admin_drop_cmd(), admin_restart_cmd(), appl_info_display(), appl_monitor(), br_inactivate(), broker_init_shm(), broker_shm_initialize_shm_as(), cas_init_shm(), and set_monitor_items().
char t_shm_appl_server::slow_log_dir[CONF_LOG_FILE_LEN] |
Definition at line 586 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_init(), cas_slow_log_open(), and main().
char t_shm_appl_server::slow_log_mode |
Definition at line 562 of file broker_shm.h.
Referenced by admin_conf_change(), as_activate(), broker_shm_initialize_shm_as(), and shard_broker_process().
char t_shm_appl_server::source_env[CONF_LOG_FILE_LEN] |
Definition at line 598 of file broker_shm.h.
char t_shm_appl_server::sql_log2 |
Definition at line 566 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_main(), fn_end_tran(), process_request(), and shard_cas_main().
int t_shm_appl_server::sql_log_max_size |
Definition at line 620 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_error_log_write(), cas_log_end(), and cas_slow_log_end().
char t_shm_appl_server::sql_log_mode |
Definition at line 561 of file broker_shm.h.
Referenced by admin_conf_change(), appl_info_display(), as_activate(), broker_shm_initialize_shm_as(), and shard_broker_process().
char t_shm_appl_server::statement_pooling |
Definition at line 567 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), cas_main(), proxy_io_make_client_dbinfo_ok(), and shard_cas_main().
char t_shm_appl_server::stripped_column_name |
Definition at line 563 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), cas_main(), and shard_cas_main().
char t_shm_appl_server::trigger_action_flag |
Definition at line 579 of file broker_shm.h.
Referenced by admin_conf_change(), broker_shm_initialize_shm_as(), and ux_database_connect().
T_DB_SERVER t_shm_appl_server::unusable_databases[PAIR_LIST][UNUSABLE_DATABASE_MAX] |
Definition at line 643 of file broker_shm.h.
Referenced by check_server_alive(), server_monitor_thr_f(), and unusable_databases_monitor().
int t_shm_appl_server::unusable_databases_cnt[PAIR_LIST] |
Definition at line 627 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), check_server_alive(), server_monitor_thr_f(), and unusable_databases_monitor().
unsigned int t_shm_appl_server::unusable_databases_seq |
Definition at line 628 of file broker_shm.h.
Referenced by check_server_alive(), server_monitor_thr_f(), and unusable_databases_monitor().