[appengine-java] Help: Memcache - not hitting at all

2011-09-10 Thread realdope
Hi, I have a Memcache wrapper class with a set of public static methods for getting and setting application-specific key:value pairs. They use a set of private static methods defined here: private static boolean has(String key) { return MemcacheServiceFactory.getMemcacheService().

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-12 Thread Jens Stoltenberg
How is your memcache configured? Are you using HTTP or HTTPS? On Sat, Sep 10, 2011 at 9:21 PM, realdope wrote: > Hi, > > I have a Memcache wrapper class with a set of public static methods for > getting and setting application-specific key:value pairs. They use a set of > private static method

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-13 Thread realdope
I took suggestions from Nicole and it seems to be working now.. Although I'm still uneasy about it. How does contains(key) work? If I store a non-null value into the Memcache, why would get(key) ever return null? What's wrong with the existing code that I posted that Memcache.hasById(id) always

Re: [appengine-java] Help: Memcache - not hitting at all

2011-09-13 Thread Simon Knott
Hi, I'd hope that the value is never null, it was just an observation. How long is there between a *putById *and a *hasById*? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visi