ehcache / ehcache-jcache

The Ehcache 2.x implementation of JSR107 (JCACHE)
Other
91 stars 48 forks source link

JCacheStatMXBean.clear() clears the Cache?! #34

Closed alexsnaps closed 9 years ago

alexsnaps commented 9 years ago

Shouldn't JCacheStatMXBean clear the stats?

timeck commented 9 years ago

Was just about to file this same bug when I was reading the stats mbean code. Yeah, calling clear() on the stats shouldn't clear the cache :-)