Also documentation for this 

anonymous wrote : 
  | # timeToLiveSeconds  - The amount of time a node is not written to or read 
(in seconds) before the node is swept away. 0 denotes no limit. 
  | 

If you leave it out, you get an exception like so

  | 
  | org.jboss.cache.config.ConfigurationException: timeToLiveSeconds must be 
configured to a value greater than or equal to 0
  |     at 
org.jboss.cache.eviction.LRUConfiguration.validate(LRUConfiguration.java:85)
  |     at 
org.jboss.cache.factories.XmlConfigurationParser.parseEvictionPolicyConfig(XmlConfigurationParser.java:616)
  | 
  | 

Docs should possibly state that this is mandatory or let the default value for 
this be 0 when nothing configured for it. 

Just passing on some thoughts on it.

Cheers,
LL


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184857
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to