修改FETCH API函数名为tango_cache_fetch_object;增加DELETE API;调整ctx结构体内部结构;
This commit is contained in:
2
cache/test_demo/tango_cache_test.c
vendored
2
cache/test_demo/tango_cache_test.c
vendored
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user