Take the tour ×  I have recently got Enyim Memcached up and
running and it is working great. Using the library I am able to
store and retrieve items with no problem.  However, I was
wondering if there was a way to retrieve all items from the
cache. I am aware that you are able to retrieve an item by its
key :-    MemcachedClient client = new MemcachedClient()
object o = client.Get("key");  But I cant seem to see a GetAll()
or similar method - am I missing something?  share|improve this
question add comment  2 Answers  up vote 6 down vote accepted  I
want to elaborate on dasun's answer. He is correct that there is
no way to get all keys out of standard memcached, however there
are other flavors of memcached that allow you to do this through
tap streams. You can do this if you use Membase server (If you
just use cache buckets Membase is pretty much just memcached) or
you can use the Membase branch of memcached which can be found
here https://github.com/membase/memcached. The Membase branch is
definitely safe