commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From evebill8 <>
Subject Re: Is DiskFileItemFactory Thread Safe?
Date Fri, 05 Feb 2010 05:39:22 GMT

Thanks!  I feel the same.  I am using Java 5, and I do not see any
performance issue yet,  but it just bother other engineers when they see the
code.  I look at the source, the 2 main vars will be used are 

        this.sizeThreshold = sizeThreshold;
        this.repository = repository;

They are passed in the createItem method.  I believe as long as I do not
need dynamically to change the sizeThreshold and repository, the factory
object can be static.
View this message in context:
Sent from the Commons - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message