Hi,
I got a problem with eviction. I added to xml file eviction policy attribute.
It looks like this

<!--  Name of the eviction policy class. --> 
    org.jboss.cache.eviction.LRUPolicy 

    <!--  Specific eviction policy configurations. This is LRU --> 
    
      
        5 
        <!--  Cache wide /COM/BusinessOrder--> 
        
         5000 
         3 
       
     
    

Now I'm running a test where I've  put an object in TreeCache then put 
Thread.sleep(10000) - 10 seconds and  now trying to get it from TreeCache. I'm 
expecting that it's not there because 10 >5 but I'm wrong.
It's still in the cache. What I'm doing wrong.
Please could you advice me.
Thanks,
David



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to