vaseems / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

It should be possible to reset XMemcached stats #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start app server with XMemcached session with stats on
2.Load JConsole and load 
net.rubyeye.xmemcached.monitor.StatisticsHandler-MemcachedClient-X
3.Only see Attributes but no Operations

What is the expected output? What do you see instead?
There are no operations from this MBean to reset stats. Most of other 
components I've ever seen JMX enabled expose methods to reset stats which, 
XMemcached doesn't expose such method.

What version of the product are you using? On what operating system?
1.3.8

Please provide any additional information below.

Original issue reported on code.google.com by claudio....@gmail.com on 6 Nov 2012 at 10:01

GoogleCodeExporter commented 9 years ago
Yes,current statistics handler MBean just provide some statistics data without 
operations.
I will provide the reset method in next release,thanks. 

Original comment by killme2...@gmail.com on 10 Nov 2012 at 1:36

GoogleCodeExporter commented 9 years ago
I've added a method named "resetStats" to MBean interface:
https://github.com/killme2008/xmemcached/commit/0a71b2431aa69272b5074e7665ee7253
fa92d570

You can build the jar by yourself if you want.

Original comment by killme2...@gmail.com on 10 Nov 2012 at 1:49

GoogleCodeExporter commented 9 years ago
1.3.9 released.

Original comment by killme2...@gmail.com on 11 Jan 2013 at 11:51