Hibernate - maxElementsOnDisk from EHCache to TreeCache
Question
I'm migrating a Hibernate application's cache from EHCache to JBoss TreeCache. I'm trying to find how to configure the equivalent to maxElementsOnDisk to limit the cache size on disk, but I couldn't find anything similar to configure in a FileCacheLoader with passivation activated.
Thanks
Solution 2
In the version I am working on (JBossCache 1.4.1), it looks like it is not possible to configure this parameter.
OTHER TIPS
This page seems to imply that the correct configuration element is:
<attribute name="MaxCapacity">20000</attribute>
However, I've only ever used EHCache myself.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow