Deepak m [http://community.jboss.org/people/deepakm23%40gmail.com] created the discussion
"Jbosscache - expiration" To view the discussion, visit: http://community.jboss.org/message/536232#536232 -------------------------------------------------------------- Hi All, I am trying to configure the expiration in the config file.I was not able to make it work.:( I want to set the expiration on every object that is store into the Cache so that the object gets deleted after specified time. I am currently using eviction where in the objects in the cache gets moved to the DB .However i also want to purge the object if not used for specific period.Are there some example on how this should be configured or any suggestion will be really helpful. I am using Jbosscache Naga Snippet from config file <eviction wakeUpInterval="5000"> <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" eventQueueSize="200000"> <property name="maxNodes" value="100" /> <property name="timeToLive" value="10" /> <property name="maxAge" value="10"/> </default> <region name="/xxx/xxx"> <property name="maxNodes" value="100" /> <property name="timeToLive" value="10000" /> <property name="maxAge" value ="100000"/> </region> </eviction> Regards, Deepak -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/536232#536232] Start a new discussion in JBoss Cache at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
