[jboss-user] [JBossCache] - Re: LRU Eviction Policy is clearing the entire cache after M
do-not-reply at jboss.com
Thu Feb 21 10:12:21 EST 2008
Having maxAgeSeconds=300 will make all nodes be removed after 300 seconds, disregarding whether a node has been used e.g. 20 seconds ago.
anonymous wrote : Unfortunately, we expected that individual elements would expire after the time
Having setMaxAge=0 and timeToLive=300 would cause all the nodes that were not 'touched'(get the node, add a key/value to the node etc) for 300 secs to be evicted. e.g. if a node is touched every 200 secs it will never be evicted. Is this what you want?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131104#4131104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131104
More information about the jboss-user