-
1. Re: how to set refresf time in Jboss cache
genman May 15, 2007 1:15 PM (in response to onkar_hingne)Assuming you are doing the caching yourself, you can configure an eviction policy to remove stale data. Look at the manual; you can set "timetoliveseconds" for data.
-
2. Re: how to set refresf time in Jboss cache
onkar_hingne May 16, 2007 10:22 AM (in response to onkar_hingne)i have set that but the cache doesnt expire after those many seconds. i need my Data changes in DB to reflect in cache. for which i need the cache to expire after a fixed interval of time.
-
3. Re: how to set refresf time in Jboss cache
manik May 16, 2007 11:20 AM (in response to onkar_hingne)Have you tried different eviction policies and params?
-
4. Re: how to set refresh time in Jboss cache
onkar_hingne May 23, 2007 11:28 AM (in response to onkar_hingne)
5000
1000
60
i have added the following to the eviction policy. maxAgeSeconds is said to be the time after which a node is swept away. i have applied this to the default region as all other regions are said to be under default region. But still the cache is not expiring. what could be the reason ??? -
5. Re: how to set refresf time in Jboss cache
onkar_hingne May 23, 2007 11:31 AM (in response to onkar_hingne)missing data on previous post is
region name="/_default_"
attribute name=maxNodes -- 5000
attribute name="timeToLiveSeconds"-- 1000
attribute name="maxAgeSeconds"-- 60 -
6. Re: how to set refresh time in Jboss cache
brian.stansberry May 23, 2007 11:39 AM (in response to onkar_hingne)"onkar_hingne" wrote:
i have applied this to the default region as all other regions are said to be under default region. But still the cache is not expiring. what could be the reason ???
The _default_ region config is relevant to any nodes not included in another region. However, it's settings are not inherited by other regions. If your comment above meant you created other regions but didn't apply all the settings you want to each region, that won't work.