int Context_init(struct Context *ctx)
int nodeSharedCache_proxy_accept_clients(struct nodeSharedCache *nsc)
int nodeSharedCache_init(struct nodeSharedCache *nsc)
void nodeSharedCache_commit(struct nodeSharedCache *nsc, char *key)
char * nodeSharedCache_get_json(struct nodeSharedCache *nsc, char *key)
void nodeSharedCache_reduce(struct nodeSharedCache *nsc, char *key, json_t *elem)
pthread_mutex_t socket_w_lock
void nodeSharedCache_set_json(struct nodeSharedCache *nsc, char *key, char *json)
void nodeSharedCache_wait(struct nodeSharedCache *nsc)
int nodeSharedCache_proxy_init(struct nodeSharedCache *nsc, char *destination_server, int expected_clients)
void nodeSharedCache_delete_handler(char *key, void *ctx)
void nodeSharedCache_release(struct nodeSharedCache *nsc)
void nodeSharedCache_delete(struct nodeSharedCache *nsc, char *key)
pthread_mutex_t * client_socket_w_lock
json_t * nodeSharedCache_get(struct nodeSharedCache *nsc, char *key)
void nodeSharedCache_set(struct nodeSharedCache *nsc, char *key, json_t *json)
void Context_release(struct Context *ctx)
pthread_t * client_threads
void nodeSharedCache_reduce_json(struct nodeSharedCache *nsc, char *key, char *json)
void nodeSharedCache_set_handler(char *key, json_t *elem, void *ctx)