This is completely wrong.

The fact that "memcache can expire at any time" has been stated
anywhere, repeatedly.

The correct behavior with expiry times set is what the original poster
wants, i.e. memcache to guarantee expiry after a certain time lapse.
http://code.google.com/appengine/docs/java/memcache/overview.html#How_Cached_Data_Expires

Regards
Lorenzo

On Sep 21, 6:58 am, nischalshetty <nischalshett...@gmail.com> wrote:
> As far as cache expiry is considered, its a guarantee that the cache
> won't expire before the set expiry date (it might still expire in case
> of failures etc).
>
> Basically, there's no real guarantee that the cache will expire after
> the time that you have set. It's just that it won't expire before the
> set time.
>
> -Nischalhttp://justunfollow.com
>
> On Sep 21, 1:24 am, Navaneeth Krishnan <navaneeth.cont...@gmail.com>
> wrote:
>
> > I have a couple of questions wrt Memcache.
>
> > 1. Where do I find the javadoc for jcache ? The document seems
> > woefully out-of-date
>
> > The 
> > examples:http://code.google.com/appengine/docs/java/memcache/usingjcache.html
>
> > refer to a package net.sf.jsr107.Cache. However, I find that the
> > actual package is net.sf.jsr107cache.Cache.
>
> > Where do I find the javadoc for net.sf.jsr107cache.Cache ?
>
> > 2. In my application, I create a cache with the following property:
>
> >                props.put(GCacheFactory.EXPIRATION_DELTA,3600);
>
> > Yet, I find that my cache does not expire after an hour. As a matter
> > of fact, it does not seem to expire at all !  Objects put in the cache
> > stay forever. Is there something I am missing ?
>
> > Regards,
> > Navaneeth

-- 
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-j...@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