-
1. Re: Fine grained control over the eviction policy
manik May 5, 2009 5:55 AM (in response to egeesken)Region based "marshalling" is not what you need, you just need to define separate regions. One for each data type which has unique eviction requirements. You can then define what these eviction requirements are on a per-region basis. The JBoss Cache User Guide has details on this, along with examples.
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/userguide_en/html/index.html -
2. Re: Fine grained control over the eviction policy
egeesken May 7, 2009 8:33 AM (in response to egeesken)Hi, this article is interesting but i am using the POJO Cache and the documentation
"PoJo Userguide"
Another way to support multiple regions in eviction is to use region-based
marshalling. See the "Architecture" chapter in the JBoss Cache User Guide for
more information on region-based marshalling. When the Cache uses region-based
marshalling, POJO Cache will store internal node data on the region that is specified.
This allows for a more flexible eviction policy.
And I have no idea how I could configure this region based marshalling to extend my eviction policy.
Any idea?
Regards
Edmund