[jbosscache-dev] Valdiations in FileCacheLoader

Brian Stansberry brian.stansberry at jboss.com
Mon Nov 20 14:58:21 EST 2006


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/




More information about the jbosscache-dev mailing list