Memcached 客户端 getStats 可能统计数据的键列表?
MemcachedClient 有一个 getStats 方法接受统计值的字符串键。有我可以使用的可能按键列表吗?
这也是本地操作还是阻塞调用服务器来获取这些统计信息?
MemcachedClient has a getStats method which accepts a String key for the stat value. Is there a list of possible keys I can use?
Also is this a local operation or a blocking call to server to get those stats?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 getStats 的参数与“telnet”内存缓存时使用的参数相同。您可以在此处找到统计命令参数:http://lzone.de/articles/memcached.htm
选项有:slabs、malloc、items、detail、sizes、reset。
我不知道这是否是一个阻塞调用,但我不这么认为。
希望这会有所帮助,
干杯。
i think that params for getStats are the same used when you "telnet" your memcache. You can find stats command args here: http://lzone.de/articles/memcached.htm
options are: slabs, malloc, items, detail, sizes, reset.
I don't know if it's a blocking call, but i dont think so.
hope this will help,
cheers.