EHC ❯ Incorrect statictics for blocking caches
-
Bug
-
Status: New
-
2 Major
-
Resolution:
-
ehcache
-
-
drb
-
Reporter: mvlakh
-
April 05, 2017
-
0
-
Watchers: 1
-
April 05, 2017
-
Description
Statictics for Blocking Cache is invalid. Statistics shows 2 misses in case of single blockingCache.get(nonExistingElementKey) invocation.
The issue happens because when blocking cache accesses the underlying cache it uses get instead of getQuiet. See net.sf.ehcache.constructs.blocking.BlockingCache.get(Object) for details.
There is an old issue EHC-694 which is exactly the same as this one.