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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to