Re: [appengine-java] Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?

2010-02-15 Thread John Patterson
Yes you need to put it in memcache again. All instances returned from memcache are deserialized copies of the original. On 15 Feb 2010, at 16:04, opok wrote: Hi all, I created a bean to be cached in the memcache, when I retrieved it from the memecache and called some methods on it to update

[appengine-java] Do I need to re-cache my object after I updated it in the memcache of Google AppEngine?

2010-02-15 Thread opok
Hi all, I created a bean to be cached in the memcache, when I retrieved it from the memecache and called some methods on it to update its status, do I need to re-cache it into memcache? I guess that memcache used its reference, so I should not need to do it. But things turn out that I am not corr