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

Reply via email to