Re: [appengine-java] Is MemcacheService obtained from getMemcacheService("namespace") thread safe?

2010-10-12 Thread Maxim Veksler
Great, thank you for clarifying this. Perhaps It would be helpful to mention this in the javadoc ? Or maybe introduce some kind of @ThreadSafe annotation with RetentionPolicy.SOURCE ? Thanks, Maxim. On Mon, Oct 11, 2010 at 9:10 PM, Ikai Lan (Google) > wrote: > Yes. It's just a client. > > If

Re: [appengine-java] Is MemcacheService obtained from getMemcacheService("namespace") thread safe?

2010-10-11 Thread Ikai Lan (Google)
Yes. It's just a client. If you're really worried about this, you don't really save much by doing this, however, since the only real cost is object allocation. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/a

[appengine-java] Is MemcacheService obtained from getMemcacheService("namespace") thread safe?

2010-10-11 Thread Maxim Veksler
Hi, Well the title pretty much says it all. Is the memcache low level interface of AppEngine Java SDK thread safe? I would like to hold a reference to it in a static class level reference field. Thanks, Maxim. -- You received this message because you are subscribed to the Google Groups "Goog