修改FETCH API函数名为tango_cache_fetch_object;增加DELETE API;调整ctx结构体内部结构;

This commit is contained in:
zhangchengwei
2018-09-27 15:04:56 +08:00
parent dc166a9c5d
commit 3ad673b610
11 changed files with 364 additions and 255 deletions

View File

@@ -175,7 +175,7 @@ static void dummy_accept_callback(evutil_socket_t fd, short events, void *arg)
pdata->future = future_create(get_future_success, get_future_failed, pdata);
promise_set_ctx(future_to_promise(pdata->future), NULL, NULL);
tango_cache_fetch(tango_instance, pdata->future, &meta);
tango_cache_fetch_object(tango_instance, pdata->future, &meta);
}
else if(!strcasecmp(p, "PUTONCE"))
{