CUBRID Engine
latest
|
#include <master_heartbeat.h>
Public Attributes | |
HB_PROC_ENTRY * | next |
HB_PROC_ENTRY ** | prev |
unsigned char | state |
unsigned char | type |
int | sfd |
int | pid |
char | exec_path [HB_MAX_SZ_PROC_EXEC_PATH] |
char | args [HB_MAX_SZ_PROC_ARGS] |
struct timeval | frtime |
struct timeval | rtime |
struct timeval | dtime |
struct timeval | ktime |
struct timeval | stime |
unsigned short | changemode_rid |
unsigned short | changemode_gap |
LOG_LSA | prev_eof |
LOG_LSA | curr_eof |
bool | is_curr_eof_received |
CSS_CONN_ENTRY * | conn |
bool | being_shutdown |
bool | server_hang |
Definition at line 270 of file master_heartbeat.h.
char HB_PROC_ENTRY::args[HB_MAX_SZ_PROC_ARGS] |
Definition at line 282 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_deregister_process(), hb_get_process_info_string(), hb_help_sprint_processes_info(), hb_register_new_process(), hb_resource_demote_kill_server_proc(), hb_resource_job_confirm_cleanup_all(), hb_resource_job_confirm_start(), hb_resource_receive_changemode(), hb_resource_send_changemode(), and hb_return_proc_by_args().
bool HB_PROC_ENTRY::being_shutdown |
Definition at line 299 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), and hb_resource_demote_start_shutdown_server_proc().
unsigned short HB_PROC_ENTRY::changemode_gap |
Definition at line 291 of file master_heartbeat.h.
Referenced by hb_register_new_process(), hb_resource_receive_changemode(), and hb_resource_send_changemode().
unsigned short HB_PROC_ENTRY::changemode_rid |
Definition at line 290 of file master_heartbeat.h.
CSS_CONN_ENTRY* HB_PROC_ENTRY::conn |
Definition at line 297 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_get_process_info_string(), hb_is_deactivation_ready(), hb_register_new_process(), hb_resource_cleanup(), hb_resource_demote_start_shutdown_server_proc(), hb_resource_job_cleanup_all(), hb_resource_job_confirm_cleanup_all(), hb_resource_job_proc_dereg(), hb_resource_send_changemode(), hb_resource_send_get_eof(), and hb_resource_shutdown_all_ha_procs().
LOG_LSA HB_PROC_ENTRY::curr_eof |
Definition at line 294 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), hb_resource_check_server_log_grow(), and hb_resource_receive_get_eof().
struct timeval HB_PROC_ENTRY::dtime |
Definition at line 286 of file master_heartbeat.h.
Referenced by hb_deregister_process(), and hb_get_process_info_string().
char HB_PROC_ENTRY::exec_path[HB_MAX_SZ_PROC_EXEC_PATH] |
Definition at line 281 of file master_heartbeat.h.
Referenced by hb_get_process_info_string(), hb_help_sprint_processes_info(), and hb_register_new_process().
struct timeval HB_PROC_ENTRY::frtime |
Definition at line 284 of file master_heartbeat.h.
Referenced by hb_register_new_process().
bool HB_PROC_ENTRY::is_curr_eof_received |
Definition at line 295 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), hb_resource_check_server_log_grow(), hb_resource_receive_get_eof(), and hb_resource_send_get_eof().
struct timeval HB_PROC_ENTRY::ktime |
Definition at line 287 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), and hb_get_process_info_string().
HB_PROC_ENTRY* HB_PROC_ENTRY::next |
Definition at line 272 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cluster_job_failback(), hb_get_process_info_string(), hb_help_sprint_processes_info(), hb_is_deactivation_ready(), hb_kill_all_heartbeat_process(), hb_reload_config(), hb_remove_all_procs(), hb_resource_check_server_log_grow(), hb_resource_cleanup(), hb_resource_demote_confirm_shutdown_server_proc(), hb_resource_demote_kill_server_proc(), hb_resource_demote_start_shutdown_server_proc(), hb_resource_job_change_mode(), hb_resource_job_cleanup_all(), hb_resource_job_confirm_cleanup_all(), hb_resource_send_get_eof(), hb_resource_shutdown_all_ha_procs(), hb_return_proc_by_args(), hb_return_proc_by_fd(), and hb_return_proc_by_pid().
int HB_PROC_ENTRY::pid |
Definition at line 280 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_cluster_job_failback(), hb_deregister_process(), hb_get_process_info_string(), hb_help_sprint_processes_info(), hb_kill_all_heartbeat_process(), hb_register_new_process(), hb_resource_check_server_log_grow(), hb_resource_cleanup(), hb_resource_demote_kill_server_proc(), hb_resource_demote_start_shutdown_server_proc(), hb_resource_job_change_mode(), hb_resource_job_cleanup_all(), hb_resource_job_confirm_cleanup_all(), hb_resource_job_confirm_dereg(), hb_resource_job_confirm_start(), hb_resource_job_proc_dereg(), hb_resource_receive_changemode(), hb_resource_send_changemode(), hb_resource_shutdown_all_ha_procs(), and hb_return_proc_by_pid().
HB_PROC_ENTRY** HB_PROC_ENTRY::prev |
Definition at line 273 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc().
LOG_LSA HB_PROC_ENTRY::prev_eof |
Definition at line 293 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), and hb_resource_check_server_log_grow().
struct timeval HB_PROC_ENTRY::rtime |
Definition at line 285 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_get_process_info_string(), and hb_register_new_process().
bool HB_PROC_ENTRY::server_hang |
Definition at line 300 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), hb_is_hang_process(), hb_register_new_process(), hb_resource_check_server_log_grow(), hb_resource_demote_confirm_shutdown_server_proc(), hb_resource_demote_start_shutdown_server_proc(), and hb_return_proc_state_by_fd().
int HB_PROC_ENTRY::sfd |
Definition at line 278 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_help_sprint_processes_info(), hb_is_deactivation_ready(), hb_register_new_process(), hb_resource_shutdown_all_ha_procs(), and hb_return_proc_by_fd().
unsigned char HB_PROC_ENTRY::state |
Definition at line 275 of file master_heartbeat.h.
Referenced by hb_alloc_new_proc(), hb_cleanup_conn_and_start_process(), hb_deregister_process(), hb_get_process_info_string(), hb_help_sprint_processes_info(), hb_register_new_process(), hb_resource_check_server_log_grow(), hb_resource_demote_confirm_shutdown_server_proc(), hb_resource_demote_kill_server_proc(), hb_resource_demote_start_shutdown_server_proc(), hb_resource_job_change_mode(), hb_resource_job_confirm_cleanup_all(), hb_resource_job_confirm_dereg(), hb_resource_job_confirm_start(), hb_resource_job_proc_dereg(), hb_resource_receive_changemode(), hb_resource_receive_get_eof(), hb_resource_send_get_eof(), hb_resource_shutdown_all_ha_procs(), and hb_return_proc_state_by_fd().
struct timeval HB_PROC_ENTRY::stime |
Definition at line 288 of file master_heartbeat.h.
Referenced by hb_get_process_info_string().
unsigned char HB_PROC_ENTRY::type |
Definition at line 276 of file master_heartbeat.h.
Referenced by hb_cleanup_conn_and_start_process(), hb_cluster_job_failback(), hb_get_process_info_string(), hb_help_sprint_processes_info(), hb_kill_all_heartbeat_process(), hb_register_new_process(), hb_reload_config(), hb_resource_check_server_log_grow(), hb_resource_demote_confirm_shutdown_server_proc(), hb_resource_demote_kill_server_proc(), hb_resource_demote_start_shutdown_server_proc(), hb_resource_job_change_mode(), hb_resource_job_cleanup_all(), hb_resource_job_confirm_cleanup_all(), hb_resource_job_confirm_start(), hb_resource_job_proc_dereg(), and hb_resource_shutdown_all_ha_procs().