Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nsc.h File Reference
#include "jsonCache.h"
Include dependency graph for nsc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Context
 
struct  nodeSharedCache
 

Enumerations

enum  {
  NSC_SET =0, NSC_DELETE =1, NSC_BCAST =2, NSC_REDUCE =3,
  NSC_CLOSE =4
}
 

Functions

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

Enumeration Type Documentation

anonymous enum
Enumerator
NSC_SET 
NSC_DELETE 
NSC_BCAST 
NSC_REDUCE 
NSC_CLOSE 

Definition at line 19 of file nsc.h.

Function Documentation

int Context_init ( struct Context ctx)

Definition at line 92 of file nsc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void Context_release ( struct Context ctx)

Definition at line 97 of file nsc.c.

Here is the caller graph for this function:

void nodeSharedCache_commit ( struct nodeSharedCache nsc,
char *  key 
)

Definition at line 1235 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_delete ( struct nodeSharedCache nsc,
char *  key 
)

Definition at line 1230 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_delete_handler ( char *  key,
void *  ctx 
)

Definition at line 1159 of file nsc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

json_t* nodeSharedCache_get ( struct nodeSharedCache nsc,
char *  key 
)

Definition at line 1208 of file nsc.c.

Here is the call graph for this function:

char* nodeSharedCache_get_json ( struct nodeSharedCache nsc,
char *  key 
)

Definition at line 1215 of file nsc.c.

Here is the call graph for this function:

int nodeSharedCache_init ( struct nodeSharedCache nsc)

Definition at line 657 of file nsc.c.

Here is the call graph for this function:

int nodeSharedCache_proxy_accept_clients ( struct nodeSharedCache nsc)

Definition at line 860 of file nsc.c.

Here is the call graph for this function:

int nodeSharedCache_proxy_init ( struct nodeSharedCache nsc,
char *  destination_server,
int  expected_clients 
)

Definition at line 962 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_reduce ( struct nodeSharedCache nsc,
char *  key,
json_t elem 
)

Definition at line 1189 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_reduce_json ( struct nodeSharedCache nsc,
char *  key,
char *  json 
)

Definition at line 1181 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_release ( struct nodeSharedCache nsc)

Definition at line 1123 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_set ( struct nodeSharedCache nsc,
char *  key,
json_t json 
)

Definition at line 1175 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_set_handler ( char *  key,
json_t elem,
void *  ctx 
)

Definition at line 1143 of file nsc.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void nodeSharedCache_set_json ( struct nodeSharedCache nsc,
char *  key,
char *  json 
)

Definition at line 1167 of file nsc.c.

Here is the call graph for this function:

void nodeSharedCache_wait ( struct nodeSharedCache nsc)

Definition at line 1096 of file nsc.c.

Here is the call graph for this function:

Here is the caller graph for this function: