[jboss-user] [JBoss Cache: Core Edition] - Re: How do items get automatically removed from the cache?
manik.surtani@jboss.com
do-not-reply at jboss.com
Fri Jul 4 05:31:43 EDT 2008
Are you actually attaching the LRU or Expiry policy to a region? :-)
Look at EvictionConfig and EvictionRegionConfig.
And make sure you add your EvictionConfig to your cache's Configuration using Configuration.setEvictionConfig() and use this Configuration instance with the CacheFactory to create a cache.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162501#4162501
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162501
More information about the jboss-user
mailing list