Sorry the xml quoto was missing. It is <region name="/_default_"> | <!--0 means no limit --> | <attribute name="maxNodes">0</attribute> | <attribute name="timeToLiveSeconds">1800</attribute> | <attribute name="maxAgeSeconds">1800</attribute> | </region> "yangju" wrote : I am running jboss 4.2 and hibernate with jboss treecache (deployed as mbean) as hibernate cache provider. I have the following default region evict policy defined in the treecache-service.xml : | org.jboss.cache.eviction.LRUPolicy | | <!--0 means no limit --> | 0 | 1800 | 1800 | | | In my code I save my query cache into a region called "/myregion". However, I don't have region "/myregion" configured. I thought if myregion is not defined in treecache-service.xml, it falls back to _default_ region. So I expected that every 30 mins my cache is flushed. However, I found that the cache is flushed every 3 or 4 hours, not 30 mins as specified in the _default_ region. | | Do I have to define myregion? Doesn't treecache uses default cache policy if it cannot fine myregion? | | Thanks. | | | | <!--0 means no limit --> | 0 | 1800 | 1800 | |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165513#4165513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165513 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
