-
1. Re: Removal of expired entries
pmuir Aug 29, 2011 7:44 AM (in response to shohou)Take a look at expiration - https://docs.jboss.org/author/display/ISPN/Eviction#Eviction-Expiration
I'll update the docs to mention more about the default eviction/expiration :-)
-
2. Re: Removal of expired entries
shohou Aug 29, 2011 8:02 AM (in response to pmuir)Ok, thanks.
I looked in the sources and found that thread that removes expired entries starts when there is <eviction> element in configuration. Maybe it's good idea to allow <eviction> element without maxEntries attribute?
-
3. Re: Removal of expired entries
pmuir Aug 30, 2011 6:28 AM (in response to shohou)Well, no, in this case you should configure expiration which is a separate element to eviction and doesn't require maxEntries.
-
4. Re: Removal of expired entries
shohou Aug 30, 2011 6:57 AM (in response to pmuir)EvictionManagerImpl which calls purgeExpired on dataContainer and cacheStore starts only if configuration.getEvictionStrategy() != EvictionStrategy.NONE;
Is there a task in JIRA to make it start when <expiration> element present? Should i create one?
-
-