CUBRID Engine
latest
|
#include <broker_shm.h>
Definition at line 458 of file broker_shm.h.
char t_proxy_info::access_log_file[CONF_LOG_FILE_LEN] |
Definition at line 492 of file broker_shm.h.
Referenced by check_proxy_access_log(), proxy_access_log(), proxy_activate(), and shard_shm_dump_proxy_info().
char t_proxy_info::appl_server |
Definition at line 470 of file broker_shm.h.
Referenced by fn_proxy_client_prepare(), proxy_check_authorization(), proxy_find_idle_cas_by_conn_info(), proxy_io_make_client_dbinfo_ok(), proxy_set_conn_info(), shard_shm_initialize_shm_proxy(), and shard_stmt_find_by_sql().
int t_proxy_info::appl_server_shm_id |
Definition at line 516 of file broker_shm.h.
Referenced by proxy_shm_initialize(), shard_shm_dump_proxy_info(), shard_shm_initialize_shm_proxy(), shard_shm_set_param_as(), and shard_shm_set_param_proxy_internal().
time_t t_proxy_info::claimed_alive_time |
Definition at line 511 of file broker_shm.h.
Referenced by hang_check_thr_f(), proxy_set_hang_check_time(), and proxy_unset_hang_check_time().
T_CLIENT_INFO t_proxy_info::client_info[CLIENT_INFO_SIZE_LIMIT+PROXY_RESERVED_FD] |
Definition at line 521 of file broker_shm.h.
Referenced by shard_shm_get_client_info(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::cur_client |
Definition at line 467 of file broker_shm.h.
Referenced by broker_find_available_proxy(), client_monitor(), proxy_activate_internal(), proxy_client_io_free(), proxy_client_io_new(), proxy_inactivate(), proxy_monitor_worker(), run_proxy_server(), shard_shm_initialize_shm_proxy(), and stop_proxy_server().
int t_proxy_info::cur_proxy_log_mode |
Definition at line 464 of file broker_shm.h.
Referenced by check_proxy_log(), proxy_activate(), proxy_log_get_level(), proxy_log_open(), proxy_log_write(), and shard_shm_set_param_proxy_internal().
int t_proxy_info::dummy |
Definition at line 476 of file broker_shm.h.
bool t_proxy_info::fixed_shard_user |
Definition at line 489 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), proxy_check_authorization(), and proxy_process_client_register().
char t_proxy_info::ignore_shard_hint |
Definition at line 483 of file broker_shm.h.
Referenced by fn_proxy_cas_prepare_and_execute(), fn_proxy_client_prepare(), fn_proxy_client_prepare_and_execute(), proxy_cas_execute_internal(), proxy_client_execute_internal(), and shard_shm_initialize_shm_proxy().
T_SHM_SHARD_KEY_STAT t_proxy_info::key_stat[SHARD_KEY_STAT_SIZE_LIMIT] |
Definition at line 517 of file broker_shm.h.
Referenced by shard_shm_get_key_stat(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::max_client |
Definition at line 466 of file broker_shm.h.
Referenced by client_monitor(), proxy_activate_internal(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::max_context |
Definition at line 468 of file broker_shm.h.
Referenced by broker_find_available_proxy(), client_monitor(), proxy_activate_internal(), proxy_convert_error_code(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::max_prepared_stmt_count |
Definition at line 482 of file broker_shm.h.
Referenced by main(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::max_shard |
Definition at line 465 of file broker_shm.h.
Referenced by fn_proxy_client_schema_info(), get_num_monitor_items(), proxy_activate_internal(), proxy_convert_error_code(), proxy_io_make_shard_info(), proxy_shard_io_initialize(), set_monitor_items(), shard_shm_dump_proxy_info(), shard_shm_initialize_shm_proxy(), and shard_stmt_initialize().
INT64 t_proxy_info::num_connect_rejected |
Definition at line 507 of file broker_shm.h.
Referenced by proxy_process_client_register(), and set_monitor_items().
INT64 t_proxy_info::num_connect_requests |
Definition at line 506 of file broker_shm.h.
Referenced by proxy_socket_io_new_client(), and set_monitor_items().
INT64 t_proxy_info::num_hint_all_queries_processed |
Definition at line 498 of file broker_shm.h.
Referenced by fn_proxy_cas_prepare_and_execute(), and proxy_cas_execute_internal().
INT64 t_proxy_info::num_hint_err_queries_processed |
Definition at line 499 of file broker_shm.h.
Referenced by metadata_monitor(), and proxy_get_shard_id().
INT64 t_proxy_info::num_hint_id_queries_processed |
Definition at line 497 of file broker_shm.h.
Referenced by fn_proxy_cas_prepare_and_execute(), and proxy_cas_execute_internal().
INT64 t_proxy_info::num_hint_key_queries_processed |
Definition at line 496 of file broker_shm.h.
Referenced by fn_proxy_cas_prepare_and_execute(), and proxy_cas_execute_internal().
INT64 t_proxy_info::num_hint_none_queries_processed |
Definition at line 495 of file broker_shm.h.
Referenced by fn_proxy_cas_prepare_and_execute(), and proxy_cas_execute_internal().
INT64 t_proxy_info::num_proxy_error_processed |
Definition at line 501 of file broker_shm.h.
Referenced by proxy_context_send_error(), and set_monitor_items().
INT64 t_proxy_info::num_request_stmt |
Definition at line 503 of file broker_shm.h.
Referenced by fn_proxy_client_prepare(), and set_monitor_items().
INT64 t_proxy_info::num_request_stmt_in_pool |
Definition at line 504 of file broker_shm.h.
Referenced by fn_proxy_client_prepare(), and set_monitor_items().
INT64 t_proxy_info::num_restarts |
Definition at line 508 of file broker_shm.h.
Referenced by restart_proxy_server(), and set_monitor_items().
int t_proxy_info::num_shard_conn |
Definition at line 514 of file broker_shm.h.
Referenced by admin_reset_cmd(), broker_shm_initialize_shm_as(), check_shard_conn(), metadata_monitor(), proxy_update_shard_stats(), shard_broker_process(), shard_shm_dump_proxy_info(), shard_shm_initialize_shm_proxy(), shard_shm_set_param_as_in_shard(), and shard_shm_set_param_proxy_internal().
int t_proxy_info::num_shard_key |
Definition at line 513 of file broker_shm.h.
Referenced by metadata_monitor(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::pid |
Definition at line 461 of file broker_shm.h.
Referenced by broker_find_available_proxy(), proxy_activate_internal(), proxy_inactivate(), proxy_monitor_worker(), restart_proxy_server(), shard_shm_dump_proxy_info(), shard_shm_initialize_shm_proxy(), and stop_proxy_server().
char t_proxy_info::port_name[SHM_PROXY_NAME_MAX] |
Definition at line 488 of file broker_shm.h.
Referenced by proxy_activate_internal(), proxy_io_cas_lsnr(), run_proxy_server(), and shard_shm_dump_proxy_info().
int t_proxy_info::proxy_access_log_reset |
Definition at line 486 of file broker_shm.h.
Referenced by check_proxy_access_log(), proxy_access_log(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::proxy_id |
Definition at line 460 of file broker_shm.h.
Referenced by broker_find_available_proxy(), check_proxy_log(), proxy_activate_internal(), proxy_inactivate(), proxy_io_cas_lsnr(), proxy_update_shard_stats(), shard_shm_dump_proxy_info(), shard_shm_initialize_shm_proxy(), and stop_proxy_server().
int t_proxy_info::proxy_log_reset |
Definition at line 485 of file broker_shm.h.
Referenced by check_proxy_log(), proxy_log_open(), proxy_log_reset(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::service_flag |
Definition at line 462 of file broker_shm.h.
Referenced by hang_check_thr_f(), proxy_monitor_worker(), and shard_shm_initialize_shm_proxy().
T_SHARD_INFO t_proxy_info::shard_info[SHARD_INFO_SIZE_LIMIT] |
Definition at line 520 of file broker_shm.h.
Referenced by broker_shm_initialize_shm_as(), set_monitor_items(), shard_shm_find_shard_info(), and shard_shm_initialize_shm_proxy().
T_SHM_SHARD_CONN_STAT t_proxy_info::shard_stat[SHARD_CONN_STAT_SIZE_LIMIT] |
Definition at line 518 of file broker_shm.h.
Referenced by shard_shm_get_shard_stat(), and shard_shm_initialize_shm_proxy().
int t_proxy_info::status |
Definition at line 463 of file broker_shm.h.
Referenced by proxy_monitor_worker(), shard_shm_dump_proxy_info(), and shard_shm_initialize_shm_proxy().
INT64 t_proxy_info::stmt_waiter_count |
Definition at line 480 of file broker_shm.h.
Referenced by fn_proxy_client_prepare(), proxy_monitor_worker(), shard_statement_wait_timer(), and shard_stmt_check_waiter_and_wakeup().
int t_proxy_info::wait_timeout |
Definition at line 479 of file broker_shm.h.
Referenced by proxy_context_new(), proxy_context_timeout(), proxy_handler_process_cas_error(), proxy_handler_process_cas_response(), and shard_shm_initialize_shm_proxy().