CUBRID Engine  latest
t_proxy_info Struct Reference

#include <broker_shm.h>

Collaboration diagram for t_proxy_info:
Collaboration graph

Public Attributes

int proxy_id
 
int pid
 
int service_flag
 
int status
 
int cur_proxy_log_mode
 
int max_shard
 
int max_client
 
int cur_client
 
int max_context
 
char appl_server
 
int dummy
 
int wait_timeout
 
INT64 stmt_waiter_count
 
int max_prepared_stmt_count
 
char ignore_shard_hint
 
int proxy_log_reset
 
int proxy_access_log_reset
 
char port_name [SHM_PROXY_NAME_MAX]
 
bool fixed_shard_user
 
char access_log_file [CONF_LOG_FILE_LEN]
 
INT64 num_hint_none_queries_processed
 
INT64 num_hint_key_queries_processed
 
INT64 num_hint_id_queries_processed
 
INT64 num_hint_all_queries_processed
 
INT64 num_hint_err_queries_processed
 
INT64 num_proxy_error_processed
 
INT64 num_request_stmt
 
INT64 num_request_stmt_in_pool
 
INT64 num_connect_requests
 
INT64 num_connect_rejected
 
INT64 num_restarts
 
time_t claimed_alive_time
 
int num_shard_key
 
int num_shard_conn
 
int appl_server_shm_id
 
T_SHM_SHARD_KEY_STAT key_stat [SHARD_KEY_STAT_SIZE_LIMIT]
 
T_SHM_SHARD_CONN_STAT shard_stat [SHARD_CONN_STAT_SIZE_LIMIT]
 
T_SHARD_INFO shard_info [SHARD_INFO_SIZE_LIMIT]
 
T_CLIENT_INFO client_info [CLIENT_INFO_SIZE_LIMIT+PROXY_RESERVED_FD]
 

Detailed Description

Definition at line 458 of file broker_shm.h.

Member Data Documentation

char t_proxy_info::access_log_file[CONF_LOG_FILE_LEN]
time_t t_proxy_info::claimed_alive_time
int t_proxy_info::cur_proxy_log_mode
int t_proxy_info::dummy

Definition at line 476 of file broker_shm.h.

bool t_proxy_info::fixed_shard_user

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
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().

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_key

Definition at line 513 of file broker_shm.h.

Referenced by metadata_monitor(), and shard_shm_initialize_shm_proxy().

char t_proxy_info::port_name[SHM_PROXY_NAME_MAX]
int t_proxy_info::proxy_access_log_reset
int t_proxy_info::proxy_log_reset
int t_proxy_info::service_flag

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
INT64 t_proxy_info::stmt_waiter_count

The documentation for this struct was generated from the following file: