Hello,
I've just downloaded the JBossCache 1.2.3 and set it up as in the example local-service.xml, but the eviction policy does not seem to work for me.
<!-- 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 default --> <region name="/_default_"> <attribute name="maxNodes">1</attribute> <attribute name="timeToLiveSeconds">1000</attribute> </region> <region name="/MATRIX"> <attribute name="maxNodes">1</attribute> <attribute name="timeToLiveSeconds">10</attribute> <attribute name="maxAgeSeconds">6</attribute> </region> </config> </attribute>
My mistake... It's working!