[appengine-java] Re: Memcache: can't get it working

2010-11-07 Thread Slaine
Found a solution by using a different API: MemcacheService cache = MemcacheServiceFactory.getMemcacheService(); Rest of the code is the same. Actually documentation of app engine has some shortcomings on this topic. I have passed 2 days trying to find a solution and finaly found it in

[appengine-java] Re: Memcache: can't get it working

2010-11-05 Thread alesj
http://code.google.com/appengine/docs/java/memcache/overview.html Values can expire from the memcache at any time, and may be expired prior to the expiration deadline set for the value. All looks fine, but like it says, cached value can go away at any time. Which is probably what's happening

Re: [appengine-java] Re: Memcache: can't get it working

2010-11-05 Thread Lennart Benoot
Just to be clear, this is already happening after 1 minute. Should I fill in an expiration date? Documentation says that if no default is given, cache is heald in memory as long as possible. Amount of data in cache is limited also... BRL On 5 November 2010 16:31, alesj ales.jus...@gmail.com