[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2
Sorry, posted in the wrong topic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956490#3956490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956490 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2
Is this behavior of Fqn correct? If yes, shouldnt this be documented through the javadocs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956488#3956488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956488 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2
Please, ignore this entire topic. Had got confused with the concept of nodes and keys. Eviction is working fine. Sorry for the trouble View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956164#3956164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956164 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2
Tried a few more things and looks like eviction is working for attributes like timeToLiveSeconds and maxAgeSeconds(if at all they are specified) but NOT WORKING for maxNodes. P.S.: While debugging LRUAlgorithm.java, observed that the following statement : ne = (NodeEntry)recycleQueue_.poll(0); in the prune() method *always* returns null and as a result the subsequent check for maxNodes in this method is skipped. I am not sure whether this information is going to be of any use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956159#3956159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956159 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2
I even introduced a time delay in putting the objects as follows, just to try out whether eviction works. But still it does not work. The following is just an extract from the above code, with *only* a Thread.sleep(500) introduced. for(int i=0;i<50;i++) | { | | Thread.sleep(500); | System.out.println("Put#"+ (i+1)); | treeCache.put(fqn, new Integer(i), "Put#" + i); | System.out.println("Exists fqn: " + treeCache.exists(fqn)); | System.out.println("Exists object: " + treeCache.exists(fqn,new Integer(i))); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956108#3956108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956108 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user