开发者

How to clear Memcached (1.4.x) stats from java

开发者_JS百科Running flush() on the java-clients we've tried (SpyMemcacheD and Danga) does not reset the statistics on the memcached server.

Does anyone know a good way to do this? I could implement a telnet client that sends

stats reset

But that seems excessive


Did you try the following?

c.getStats("reset");


If you have MemcachedClient object then you can call the flush method with the help of object. It will reset the all the value stored in MemcachedClient object the to null.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜