[jbosscache-dev] RE: Valdiations in FileCacheLoader

Brian Stansberry brian.stansberry at jboss.com
Thu Nov 23 10:17:13 EST 2006


Be sure to use get/setCheckCharacterPortability() in FileCacheLoaderConfig as the primary mechanism for storing/retrieving this property.  Make the field @Dynamic, as there is no reason this can't be changed on a running cache.

Galder Zamarreno wrote:
> 1) I'm adding a switch in the properties section. I think
> default value should be true having the possibility to switch
> it off by setting "check.character.portability" property to false.
> 
> 2) done
> 
> Galder Zamarreño
> Sr. Software Maintenance Engineer
> JBoss, a division of Red Hat
> 
> IT executives: Red Hat still #1 for value
> http://www.redhat.com/promo/vendor/
> 
> -----Original Message-----
> From: Brian Stansberry
> Sent: 20 November 2006 20:58
> To: Galder Zamarreno
> Cc: jbosscache-dev at lists.jboss.org
> Subject: Valdiations in FileCacheLoader
> 
> Hey Galder,
> 
> Couple thoughts on the validation stuff in FileCacheLoader:
> 
> 1) How about adding an on/off switch to
> FileCacheLoaderConfig? If I know my stuff conforms, I don't
> want to pay the performance penalty to check it.
> 2) I believe Pattern is thread safe, so you should be able to
> cache your compiled patterns in a static field.
> 
> Brian Stansberry
> Lead, AS Clustering
> JBoss, a division of Red Hat
> Ph: 510-396-3864
> skype: bstansberry
> 
> IT executives: Red Hat still #1 for value
> http://www.redhat.com/promo/vendor/



Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry

IT executives: Red Hat still #1 for value
http://www.redhat.com/promo/vendor/ 




More information about the jbosscache-dev mailing list