[jboss-user] [JBossCache] - Re: Eviction - forcibly?
suppyam
do-not-reply at jboss.com
Thu Sep 7 22:03:53 EDT 2006
Hi - I tried that, with some very simplistic settings:
| <!-- Name of the eviction policy class. -->
| <attribute name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
|
|
| <attribute name="EvictionPolicyConfig">
| <config>
| <attribute name="wakeUpIntervalSeconds">5</attribute>
| <!-- Cache wide default -->
| <region name="/_default_">
| <attribute name="maxNodes">5000</attribute>
| <attribute name="timeToLiveSeconds">1000</attribute>
| <!-- Maximum time an object is kept in cache regardless of idle time -->
| <attribute name="maxAgeSeconds">120</attribute>
| </region>
|
| <region name="/org/jboss/test/data">
| <attribute name="maxNodes">5</attribute>
| <attribute name="timeToLiveSeconds">4</attribute>
| </region>
| </config>
| </attribute>
|
But I get an error of the kind:
- read Method _evict(/Neat/CsticControl/EU) called - don't know how to handle, passing on!
Does this mean that its not evicting my data?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970246#3970246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970246
More information about the jboss-user
mailing list