[jboss-dev-forums] [Design of JBossCache] - JBossCache Cache Mgmt interceptor hit/miss not collected wit

mabc101 do-not-reply at jboss.com
Wed Aug 22 18:10:01 EDT 2007


I am using JBossCache (1.4) and I have a question regarding cache management stats collection - 

1. when a call is made to treeCache.put(String, Object), the stats for hits/misses are not collected, and 
2. when the call is made to treeCache.put(String, Object, Object), the stats are collected.  The second argument in the second call is the key. 

I've traced the call to the CacheMgmtInterceptor.invoke() (line 134) method.  I just wanted to find out why is the hit/miss stats collection case skipped in the first case (without the key) vs the second case (with second argument as key) mentioned above and ?  Are there any guidelines as to when to use the first method vs the second ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077084#4077084

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077084



More information about the jboss-dev-forums mailing list