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
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
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