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)

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

2011-09-11 Thread realdope
Here's rest of the code: public class Memcache { private static int EXPIRY = 60*60*24*30; private static final String POSTIDKEY=POSTID_; private static boolean has(String key) { return MemcacheServiceFactory.getMemcacheService().contains(key) get(key).length()0; }

[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

[appengine-java] BigTable LIKE

2011-08-26 Thread realdope
Hi, I know that you cannot do a LIKE clause in BigTable. How do you get around this issue? Suppose I'm making a book database, and I want to implement a search function that compares titles against a random string. What is a plausible mechanism with which to do so? Any help would be

[appengine-java] Mail API calls - Quota

2011-08-21 Thread realdope
Hi, According to http://code.google.com/appengine/docs/quotas.html#Billable_Quotas_and_Fixed_Quotas, Resource Free Default Quota Billing Enabled Default Quota Daily Limit Maximum Rate Daily Limit Maximum Rate Mail API Calls 7,000 calls 32 calls/minute 1,700,000 calls 4,900 calls/minute

Re: [appengine-java] Re: javax.mail.SendFailedException: Send failure:Unauthorized Sender: Unauthorized sender

2011-08-15 Thread realdope
I'm having the same problem. I made an extra Gmail account, placed it under as a Owner, and confirmed all confirmations. But I'm still getting javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: