[JBoss-user] [JBossCache] - Re: Eviction not working in JBossCache-1.2.4SP2

2006-07-10 Thread jaikiran
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=bbop=viewtopicp=3956488#3956488

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=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

2006-07-10 Thread jaikiran
Sorry, posted in the wrong topic



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956490#3956490

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=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

2006-07-07 Thread jaikiran
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;i50;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=bbop=viewtopicp=3956108#3956108

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=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

2006-07-07 Thread jaikiran
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=bbop=viewtopicp=3956159#3956159

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=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

2006-07-07 Thread jaikiran
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=bbop=viewtopicp=3956164#3956164

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user