当前位置:首页 > PHP教程 > PHP总结归纳

再次改动了tornado-memcache

在上次(http://wangxu.me/blog/p/758)之后,再次改动了 tornado-memcache 模块,commit 信息如下: add gets method and simplify connection estabilish - simplify connection estabilish procedure, as tornado.iostream permit write before connection

在上次(http://wangxu.me/blog/p/758)之后,再次改动了 tornado-memcache 模块,commit 信息如下:

add gets method and simplify connection estabilish

- simplify connection estabilish procedure, as tornado.iostream permit write before connection estabilished, i removed the callback and connection timeout procedure in _get_server() - add `gets(self, keys, callback, failcallback)` method, receive a list of keys as parameter and return a dictionary of results result = {key1:value1, key2:value2...}, only return the got keys from memcached - some debug info, might be cleanup later signed-off-by: wang xu
【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!