[jboss-user] [JBoss Cache: Core Edition] - Re: Passivation false problem
rachna_agg
do-not-reply at jboss.com
Fri Jun 27 04:39:14 EDT 2008
Thanks again for the reply.
My understanding about activation was wrong but now I am able to understand why the attribute "Activations" was not visible if passivation is false.
But I am still not clear about the "Hits" and "Misses" attributes. Let me explain my situation with the following steps and their corresponding attribute values:
1) Insert /A
| 2) Retrieve /A
| 3) Retrieve /A
|
|
| Output
|
| 1) CL Loads = 0, Hits = 0, Misses = 0, CL Misses = 0, Evictions = 0
| 2) CL Loads = 1, Hits = 0, Misses = 1, CL Misses = 0, Evictions = 0
| 3) CL Loads = 1, Hits = 0, Misses = 2, CL Misses = 0, Evictions = 0
|
| Here, I think that when I retrieve the same record in Step 3, then instead of the attribute "Misses" being increased, I think the attribute "Hits" should have been increased which is not happening in my case. I also enabled the DEBUG logging for jboss cache and I got the following output after Step 2:
|
| Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=true, cache=, modificationType=null, data=null, fqn=/4528 at rachna, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=false, cache=/4528 at rachna 0 , modificationType=null, data=null, fqn=/4528 at rachna, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=true, cache=/4528 at rachna 0 , modificationType=null, data=null, fqn=/4528 at rachna/42, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=false, cache=/4528 at rachna 0 /42 0 , modificationType=null, data=null, fqn=/4528 at rachna/42, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=true, cache=/4528 at rachna 0 /42 0 , modificationType=null, data=null, fqn=/4528 at rachna/42/1214554449967, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=false, cache=/4528 at rachna 0 /42 0 /1214554449967 0 , modificationType=null, data=null, fqn=/4528 at rachna/42/1214554449967, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=true, cache=/4528 at rachna 0 /42 0 /1214554449967 0 , modificationType=null, data=null, fqn=/4528 at rachna/42/1214554449967/10156252448681560289, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.500 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=false, cache=/4528 at rachna 0 /42 0 /1214554449967 0 /10156252448681560289 0 , modificationType=null, data=null, fqn=/4528 at rachna/42/1214554449967/10156252448681560289, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_CREATED}
| | Jun 27, 2008 01:59:27.532 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=true, cache=/4528 at rachna 0 /42 0 /1214554449967 0 /10156252448681560289 0 , modificationType=null, data={}, fqn=/4528 at rachna/42/1214554449967/10156252448681560289, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_LOADED}
| | Jun 27, 2008 01:59:27.532 PM DEBUG JBOSSCACHEEVENT_LOGGER - EventImpl{pre=false, cache=/4528 at rachna 0 /42 0 /1214554449967 0 /10156252448681560289 4 , modificationType=null, data={somedata}, fqn=/4528 at rachna/42/1214554449967/10156252448681560289, transaction=null, originLocal=true, targetFqn=null, successful=false, newView=null, type=NODE_LOADED}
| |
|
| and after executing Step 3, no logging appeared in jboss cache logs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161082#4161082
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161082
More information about the jboss-user
mailing list