25 #define CLUSTER_ALL_NODES (-1) 28 #define CLUSTER_CONNECT_EVENT "cluster-node-connect" 29 #define CLUSTER_DISCONNECT_EVENT "cluster-node-disconnect" 33 #define CLUSTER_STATE_EVENT "cluster-state" 35 #define CLUSTER_PACKET_LOG_VERSION 1 36 #define CLUSTER_PACKET_LOG_HEADER "TCBLog packet v" 51 int (*cluster_check_primary)();
64 void (*cluster_send_update_to_node)(
int node,
ds_data_t *dsdata);
76 void (*cluster_monitor_method)(
char *
template,
char *key,
char *property,
int argc,
char *argv[]);
89 void (*cluster_monitor_method_to_node)(
int node,
char *
template,
char *key,
char *property,
int argc,
char *argv[]);
98 void (*cluster_reset_uptime)();
108 int (*cluster_is_node_up)(
int node);
115 void (*cluster_send_nodata)(
char *subject, u_short flags);
122 void (*cluster_send_nodata_to_node)(
int node,
char *subject, u_short flags);
128 int (*cluster_get_node_index)(void);
140 int (*cluster_should_assign_to_this_node)(
char *to_assign);
146 int (*cluster_get_cluster_size)();
int patch
Definition: cluster.h:43
int version
Definition: cluster.h:42
A data update object.
Definition: datasrc.h:2425
Definition of the cluster interface.
Definition: cluster.h:41