On 3 May 2012 19:30, Julius Davies wrote:
>> So if we agree that the Encoders that exist are thread-safe (as we've
>> defined it) and that they should be in general, then I plan to treat them
>> that way in Lucene.
>
>
> I guess you're saying you'll do this:
>
> Pattern #1: save some memory, lo
ere.
>
~ David
-----
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://apache-commons.680414.n4.nabble.com/Thread-safety-of-Commons-Codec-Encoder-tp4600956p4606799.html
Sent from the Commons - User mailing list archive at Nabble.com.
> So if we agree that the Encoders that exist are thread-safe (as we've defined
> it) and that they should be in general, then I plan to treat them that way in
> Lucene.
I guess you're saying you'll do this:
Pattern #1: save some memory, lose some thread safety
---
public class MyClass {
pr
t them that way in
Lucene.
~ David
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://apache-commons.680414.n4.nabble.com/Thread-safety-of-Commons-Codec-Encoder-tp4600956p4604487.html
Sent from the Commons - User mailing list archive at Nabble.com.
stuff is "Java Concurrency In Practice" by
> Brian Goetz.
Yes, I've read it.
> ~ David
>
> -
> Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
> --
> View this message in context:
> http://apache-commons.680414.n4.nabble.com/
a good book on this tricky stuff is "Java Concurrency In Practice" by
Brian Goetz.
~ David
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://apache-commons.680414.n4.nabble.com/Thread-safety-of-Commons-Codec-Encod
On 2 May 2012 19:18, Thomas Neidhart wrote:
> On 05/01/2012 05:23 PM, David Smiley (@MITRE.org) wrote:
>> I am reviewing Apache Lucene's use of Commons-Codec phonetic Encoders for
>> thread-safety. Unfortunately, there is barely any mention about
>> thread-safety in the javadocs. I think that's
On 05/01/2012 05:23 PM, David Smiley (@MITRE.org) wrote:
> I am reviewing Apache Lucene's use of Commons-Codec phonetic Encoders for
> thread-safety. Unfortunately, there is barely any mention about
> thread-safety in the javadocs. I think that's a real problem. I noticed
> this old JIRA issue w
nabble.com/Thread-safety-of-Commons-Codec-Encoder-tp4600956.html
Sent from the Commons - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-ma