Skip to content

Struct hb_cluster

ClassList > hb_cluster

  • #include <master_heartbeat.h>

Public Attributes

Type Name
char group_id
bool hide_to_demote
char host_name
bool is_isolated
bool is_ping_check_enabled
pthread_mutex_t lock
HB_NODE_ENTRY * master
HB_NODE_ENTRY * myself
HB_NODE_ENTRY * nodes
int num_nodes
int num_ping_hosts
int num_ui_nodes
HB_PING_HOST_ENTRY * ping_hosts
int ping_timeout
SOCKET sfd
bool shutdown
HB_NODE_STATE_TYPE state
HB_UI_NODE_ENTRY * ui_nodes

Public Attributes Documentation

variable group_id

char hb_cluster::group_id[HB_MAX_GROUP_ID_LEN];

variable hide_to_demote

bool hb_cluster::hide_to_demote;

variable host_name

char hb_cluster::host_name[CUB_MAXHOSTNAMELEN];

variable is_isolated

bool hb_cluster::is_isolated;

variable is_ping_check_enabled

bool hb_cluster::is_ping_check_enabled;

variable lock

pthread_mutex_t hb_cluster::lock;

variable master

HB_NODE_ENTRY* hb_cluster::master;

variable myself

HB_NODE_ENTRY* hb_cluster::myself;

variable nodes

HB_NODE_ENTRY* hb_cluster::nodes;

variable num_nodes

int hb_cluster::num_nodes;

variable num_ping_hosts

int hb_cluster::num_ping_hosts;

variable num_ui_nodes

int hb_cluster::num_ui_nodes;

variable ping_hosts

HB_PING_HOST_ENTRY* hb_cluster::ping_hosts;

variable ping_timeout

int hb_cluster::ping_timeout;

variable sfd

SOCKET hb_cluster::sfd;

variable shutdown

bool hb_cluster::shutdown;

variable state

HB_NODE_STATE_TYPE hb_cluster::state;

variable ui_nodes

HB_UI_NODE_ENTRY* hb_cluster::ui_nodes;


The documentation for this class was generated from the following file cubrid/src/executables/master_heartbeat.h