I was not able to find a way through which I could get all the keys from all the {key,value} pairs stored in memcache.