How can I remove all data from memcache?

293 views
Skip to first unread message

Aurelian

unread,
Feb 14, 2012, 12:56:39 PM2/14/12
to Gaelyk
How can I remove all data from memcache?

It's urgent.
Thank you

Aurelian

unread,
Feb 15, 2012, 6:00:31 AM2/15/12
to Gaelyk
memcache.clearAll()

found.. this group isn't that fast..

Guillaume Laforge

unread,
Feb 15, 2012, 6:14:22 AM2/15/12
to gae...@googlegroups.com
Aurelian,

Asking a question saying something is urgent is never the best idea to
get an answer fast.
Secondly, it's more a Google App Engine question here, than a specific
Gaelyk one.
And then, people have a life, a job, etc, and you're not paying for
support and have the chance of using OSS software for free.

Guillaume

> --
> You've received this message because you've subscribed to the Gaelyk Google Group.
> To send an email to the group, please write to: gae...@googlegroups.com
> To unsuscribe from this group: gaelyk+un...@googlegroups.com
> To show more options: http://groups.google.fr/group/gaelyk?hl=en

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware

Blog: http://glaforge.appspot.com/
Twitter: @glaforge
Google+: http://gplus.to/glaforge

Ram Vijapurapu - Mobile

unread,
Feb 15, 2012, 6:33:07 AM2/15/12
to gae...@googlegroups.com
All the methods provided by Google AppEngine API can be used with Gaelyk. Gaelyk just provides a sugar over them.

http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.html

R.

--
Ram Vijapurapu
mob +64 21 790 318 ° ddi +64 9 889 2202 ° us +1 707 927 0441
Sent from mobile....

Guillaume Laforge

unread,
Feb 15, 2012, 7:42:52 AM2/15/12
to gae...@googlegroups.com
Yup, thanks for the link.
And in this particular case, there's no particular sugar added, since
it's very easy to just call that method to clear all the cache.

Guillaume

--

Aurelian

unread,
Feb 15, 2012, 4:00:28 PM2/15/12
to Gaelyk
Thank you very much Guillaume,
You are perfectly right, it was some time I didn't code in groovy but
only java, so forgotted all the methods provided by Google AppEngine
API can be used with Gaelyk :)

I was simply following the Gaelyk tutorial to add memcache to my
project, so if I would have seen a line saying to remove all from
cache call this, or saying call AppEngine usual API.. well I would
have understood faster..

Best regards,
Aurelian

On 15 Feb, 13:42, Guillaume Laforge <glafo...@gmail.com> wrote:
> Yup, thanks for the link.
> And in this particular case, there's no particular sugar added, since
> it's very easy to just call that method to clear all the cache.
>
> Guillaume
>
> On Wed, Feb 15, 2012 at 12:33, Ram Vijapurapu - Mobile
>
>
>
>
>
>
>
>
>
> <r...@fieldlinx.com> wrote:
> > All the methods provided by Google AppEngine API can be used with Gaelyk.
> > Gaelyk just provides a sugar over them.
>
> >http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
>
> > R.
>
> > --
> > Ram Vijapurapu
> > mob +64 21 790 318 ° ddi +64 9 889 2202 ° us +1 707 927 0441
> > Sent from mobile....
> > ________________________________

Guillaume Laforge

unread,
Feb 16, 2012, 3:30:55 AM2/16/12
to gae...@googlegroups.com
Well, the documentation covers essentially the "sugar" added by
Gaelyk, and not so much what GAE SDK offers out of the box.
Perhaps I could add for each section (memcache, datastore, etc), a
link to the SDK APIs, as a reminder of "all the rest" that is already
provided by the SDK.
Otherwise, I can't really just double the documentation with
documenting all that exists already, that would be a fair bit of work.

Guillaume

Guillaume Laforge

unread,
Feb 16, 2012, 3:34:04 AM2/16/12
to gae...@googlegroups.com
I've simply added a link to the Memcache JavaDoc for now:
https://github.com/glaforge/gaelyk/commit/afc4a2e0cf7f4105439a411710e6eb24fb6c6b4e

A small step for man...

Guillaume

Reply all
Reply to author
Forward
0 new messages