How would one return all the values stored within the memcache?
I have tried using entrySet() and values() methods on the cache but both result in an java.lang.UnsupportedOperationException.
Ideally, I need to return all the entities stored within the cache and bulk save them to the datastore – is this possible?
Thanks
Given the
MemcacheServicelow-level documentation, I don’t think it’s possible to do so.This is also supported by the JCache Features Not Supported section of the docs:
(Note: I work for Google. but please don’t take this as a response from Google. I haven’t used AppEngine much myself.)