|
| ZKClusterRT (string host, int timeout=30000) |
|
bool | Init () |
| Initialize the runtime instance.
|
|
bool | sWatchSGroup (int gid, int sid, rt_callback fn, void *ctx) |
| Server: watch all workers in a server group, will be notified when all workers have left.
|
|
bool | wJoinSGroup (int gid, int wid, int s_group) |
| Worker: join a server group (i.e. More...
|
|
bool | wLeaveSGroup (int gid, int wid, int s_group) |
| Worker: leave a server group (i.e. More...
|
|
|
static void | watcherGlobal (zhandle_t *zh, int type, int state, const char *path, void *watcherCtx) |
|
bool singa::ZKClusterRT::wJoinSGroup |
( |
int |
gid, |
|
|
int |
wid, |
|
|
int |
s_group |
|
) |
| |
|
virtual |
bool singa::ZKClusterRT::wLeaveSGroup |
( |
int |
gid, |
|
|
int |
wid, |
|
|
int |
s_group |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- /home/wangwei/program/asf/incubator-singa/include/utils/cluster_rt.h