Go to the source code of this file.
Functions |
cl_cluster_node * | cl_cluster_node_get_random (cl_cluster *asc) |
cl_cluster_node * | cl_cluster_node_get (cl_cluster *asc, const char *ns, const cf_digest *d, bool write) |
void | cl_cluster_node_release (cl_cluster_node *cn, const char *tag) |
void | cl_cluster_node_reserve (cl_cluster_node *cn, const char *tag) |
void | cl_cluster_node_put (cl_cluster_node *cn) |
int | cl_cluster_node_fd_get (cl_cluster_node *cn, bool asyncfd, bool nbconnect) |
void | cl_cluster_node_fd_put (cl_cluster_node *cn, int fd, bool asyncfd) |
int | citrusleaf_cluster_init () |
cl_cluster_node * | cl_cluster_node_get_byname (cl_cluster *asc, char *name) |
int | cl_cluster_get_node_names_byhostportlist (cl_cluster *asc, char *list_nodes, int *n_nodes, char **node_names) |
int | citrusleaf_info_parse_single (char *values, char **value) |
void | cl_partition_table_destroy_all (cl_cluster *asc) |
bool | cl_partition_table_is_node_present (cl_cluster *asc, cl_cluster_node *node) |
void | cl_partition_table_update (cl_cluster *asc, cl_cluster_node *node, const char *ns, bool *masters, bool *proles) |
cl_cluster_node * | cl_partition_table_get (cl_cluster *asc, const char *ns, cl_partition_id pid, bool write) |
Macro Definition Documentation
#define CLS_FREED 0x00000002 |
#define CLS_TENDER_RUNNING 0x00000001 |
#define CLS_UNUSED1 0x00000004 |
#define CLS_UNUSED2 0x00000008 |
#define CLS_UNUSED3 0x00000010 |
#define MAX_INTERVALS_ABSENT 1 |
Typedef Documentation
Function Documentation
int citrusleaf_cluster_init |
( |
| ) |
|
int citrusleaf_info_parse_single |
( |
char * |
values, |
|
|
char ** |
value |
|
) |
| |
int cl_cluster_get_node_names_byhostportlist |
( |
cl_cluster * |
asc, |
|
|
char * |
list_nodes, |
|
|
int * |
n_nodes, |
|
|
char ** |
node_names |
|
) |
| |
int cl_cluster_node_fd_get |
( |
cl_cluster_node * |
cn, |
|
|
bool |
asyncfd, |
|
|
bool |
nbconnect |
|
) |
| |
void cl_partition_table_destroy_all |
( |
cl_cluster * |
asc | ) |
|
Variable Documentation