App Engine的memcache异步操作get_multi_async [英] App Engine memcache async operation get_multi_async

查看:111
本文介绍了App Engine的memcache异步操作get_multi_async的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Ho使用memcache get_multi_async。

Doc说它会返回值的字典。
http://code.google.com/appengine /docs/python/memcache/clientclass.html#Client_get_multi_async



我期待它返回某种async对象,我可以在其中执行get_result ()以后。



我是否缺少什么?

解决方案

我相信您需要传递 RPC对象;它所说的字典将通过RPC对象上的 get_result()函数获得。


Ho to use memcache get_multi_async.

Doc says it returns "dictionary" of values. http://code.google.com/appengine/docs/python/memcache/clientclass.html#Client_get_multi_async

I was expecting it to return some kind of "async object" on which i can do get_result() later.

Am i missing something ??

解决方案

I believe you need to pass in an RPC object; the dictionary it speaks of will be obtained via the get_result() function on the RPC object.

这篇关于App Engine的memcache异步操作get_multi_async的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆