CUBRID Engine
latest
|
#include <master_heartbeat.h>
Public Attributes | |
HB_NODE_ENTRY * | next |
HB_NODE_ENTRY ** | prev |
char | host_name [CUB_MAXHOSTNAMELEN] |
unsigned short | priority |
HB_NODE_STATE_TYPE | state |
short | score |
short | heartbeat_gap |
struct timeval | last_recv_hbtime |
Definition at line 200 of file master_heartbeat.h.
short hb_node_entry::heartbeat_gap |
Definition at line 209 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_cluster_calc_score(), hb_cluster_cleanup(), hb_cluster_receive_heartbeat(), hb_cluster_request_heartbeat_to_all(), hb_get_node_info_string(), hb_help_sprint_nodes_info(), and hb_reload_config().
char hb_node_entry::host_name[CUB_MAXHOSTNAMELEN] |
Definition at line 205 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_check_ping(), hb_check_request_eligibility(), hb_cluster_cleanup(), hb_cluster_load_group_and_node_list(), hb_cluster_request_heartbeat_to_all(), hb_get_node_info_string(), hb_help_sprint_nodes_info(), hb_reload_config(), hb_return_node_by_name(), hb_return_node_by_name_except_me(), and hb_set_net_header().
struct timeval hb_node_entry::last_recv_hbtime |
Definition at line 211 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_cluster_calc_score(), hb_cluster_is_received_heartbeat_from_all(), hb_cluster_receive_heartbeat(), and hb_reload_config().
HB_NODE_ENTRY* hb_node_entry::next |
Definition at line 202 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_check_ping(), hb_check_request_eligibility(), hb_cluster_calc_score(), hb_cluster_cleanup(), hb_cluster_is_isolated(), hb_cluster_is_received_heartbeat_from_all(), hb_cluster_job_demote(), hb_cluster_remove_all_nodes(), hb_cluster_request_heartbeat_to_all(), hb_get_node_info_string(), hb_help_sprint_nodes_info(), hb_reload_config(), hb_return_node_by_name(), and hb_return_node_by_name_except_me().
HB_NODE_ENTRY** hb_node_entry::prev |
Definition at line 203 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster().
unsigned short hb_node_entry::priority |
Definition at line 206 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_cluster_calc_score(), hb_cluster_job_calc_score(), hb_cluster_job_failover(), hb_cluster_load_group_and_node_list(), hb_get_node_info_string(), and hb_help_sprint_nodes_info().
short hb_node_entry::score |
Definition at line 208 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_cluster_calc_score(), hb_get_node_info_string(), hb_help_sprint_nodes_info(), and hb_reload_config().
HB_NODE_STATE_TYPE hb_node_entry::state |
Definition at line 207 of file master_heartbeat.h.
Referenced by hb_add_node_to_cluster(), hb_cluster_calc_score(), hb_cluster_is_isolated(), hb_cluster_job_calc_score(), hb_cluster_job_demote(), hb_cluster_job_failback(), hb_cluster_receive_heartbeat(), hb_get_node_info_string(), hb_help_sprint_nodes_info(), and hb_reload_config().