[jboss-user] [JBossCache] - Eviction - forcibly?
do-not-reply at jboss.com
Wed Sep 6 17:41:20 EDT 2006
I am not sure if I understood this right, so please go ahead and hit me up if I am wrong!! :)
The Eviction policy specifies when a node should be removed from the cache. There are various algorithms implemented. For example, the LRU - where the least recently used node is evicted after an idle time of 'timeToLiveSeconds'.
I am not sure if I missed this in the documentation, but what I need is a forcible eviction of all nodes from the cache, and a fresh reload. For example, after 2 hours, all nodes must be recached. I thought maxAgeSeconds would be ideal for this (maxAgeSeconds = 7200 for example, would mean that if wakeUpIntervalSeconds = 7201, then all these nodes would be swept away.
However, I also heard that parameter has now been deprecated. Is this right? If so, how do I go about achieving this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969894#3969894
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969894
More information about the jboss-user