[jboss-dev-forums] [Design of JBossCache] - Re: Eviction redesign

manik.surtani@jboss.com do-not-reply at jboss.com
Fri Aug 8 12:31:54 EDT 2008


Re: XML configuration, I also propose dropping defaultPolicyClass and defaultEventQueueSize from the eviction element since there is a default element within the eviction element to denote settings for the default region, e.g.:


  |    <eviction wakeUpInterval="5">
  |       <default policyClass="o.j.c.e.SimpleEvictPolicy" algorithmClass="o.j.c.e.LFUAlgorithm" eventQueueSize="100000">
  |         <properties>
  |           maxNodes=10
  |           timeToLive=300
  |         </properties>
  |       </default>
  |     </eviction>
  | 

Or is this shorthand for 

  | <region name="/" ...>
  | 
pointless?  WDYT?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169646#4169646

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169646



More information about the jboss-dev-forums mailing list