[appengine-java] Re: MemcacheService - get all keys

2009-10-19 Thread fx.mueller

I am currently facing the same problem. Does anybody (maybe from
Google) know if the keyset() method provided by JCache is going to be
implemented for the MemcacheService?


thanks,

fx


On Oct 16, 2:24 am, Peter Liu tinyee...@gmail.com wrote:
 I believe you can't. I tried to find out before but there's no such
 method in the low level api. The JCache API there's a method to get
 all entries but google didn't implement that.

 So I think the answer is no.

 You can removeall keyshowever.

 On Oct 14, 2:19 pm, keyurva keyu...@gmail.com wrote:

  Any suggestions?

  On Oct 14, 10:10 am, keyurva keyu...@gmail.com wrote:

   Is there a way to get keys of all objects stored in thememcache?

   My usecase is that my keys are all strings and they have a certain
   hierarchical structure. So for instance my keys could be
   folder.home, folder.home.file.test1.txt, folder.home.test2.txt,
   etc.

   So when I delete the home folder, I delete the folder.home key in
  memcachebut I would also like to delete all child keys of
   folder.home.

   Currently I do this by maintaining a List of keys myself and go from
   there. But this of course is not an optimal nor a correct solution.

   Thanks,
   Keyur


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---



[appengine-java] Re: MemcacheService - get all keys

2009-10-19 Thread Don Schwarz
As far as I know we have no plans to support this.
However, feel free to star this issue to register your need for this
functionality:

http://code.google.com/p/googleappengine/issues/detail?id=2015

On Mon, Oct 19, 2009 at 1:37 PM, fx.mueller fr.x.muel...@gmail.com wrote:


 I am currently facing the same problem. Does anybody (maybe from
 Google) know if the keyset() method provided by JCache is going to be
 implemented for the MemcacheService?


 thanks,

 fx


 On Oct 16, 2:24 am, Peter Liu tinyee...@gmail.com wrote:
  I believe you can't. I tried to find out before but there's no such
  method in the low level api. The JCache API there's a method to get
  all entries but google didn't implement that.
 
  So I think the answer is no.
 
  You can removeall keyshowever.
 
  On Oct 14, 2:19 pm, keyurva keyu...@gmail.com wrote:
 
   Any suggestions?
 
   On Oct 14, 10:10 am, keyurva keyu...@gmail.com wrote:
 
Is there a way to get keys of all objects stored in thememcache?
 
My usecase is that my keys are all strings and they have a certain
hierarchical structure. So for instance my keys could be
folder.home, folder.home.file.test1.txt, folder.home.test2.txt,
etc.
 
So when I delete the home folder, I delete the folder.home key in
   memcachebut I would also like to delete all child keys of
folder.home.
 
Currently I do this by maintaining a List of keys myself and go from
there. But this of course is not an optimal nor a correct solution.
 
Thanks,
Keyur
 
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---