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. --> 
  |     <attribute 
name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute> 
  | 
  |     <!--  Specific eviction policy configurations. This is LRU --> 
  |     <attribute name="EvictionPolicyConfig">
  |       <config>
  |         <attribute name="wakeUpIntervalSeconds">5</attribute> 
  |         <!--  Cache wide /COM/BusinessOrder--> 
  |         <region name="/COM/BusinessOrder/">
  |          <attribute name="maxNodes">5000</attribute> 
  |          <attribute name="timeToIdleSeconds">3</attribute> 
  |        </region>
  |      </config>
  |     </attribute>
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=3828777#3828777

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


-------------------------------------------------------
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