[jboss-user] [JBoss Cache] - How to handle an object's expiry in cache

Prashanth ga do-not-reply at jboss.com
Thu Jan 27 06:58:10 EST 2011

Prashanth ga [http://community.jboss.org/people/gaprashanth] created the discussion

"How to handle an object's expiry in cache"

To view the discussion, visit: http://community.jboss.org/message/583576#583576

We understand from the Jboss Cache userguide that either the object can be made to be available in the persistent store all the time as a superset because of passivation OR   available in the persistence store only on using eviction along with class loading, passivation.  Also eviction allows us to make the efficient use of memory by configuring timeToLive or maxAge kind of parameters which evict the obejcts and persist to the store while the memory is overloaded.

This means, the object is always available either from the memory or the persistent store.  But how does the object permanently removed from the cache ( either memory or store). Do we need to have an additional algorithm to clean up the objects from the persistemt stores on some interval of expiry. Is there a way we can avoid this and just be able to achieve with the configurations of Jboss cache ?

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110127/3ddacadc/attachment.html 

More information about the jboss-user mailing list