Hello,

I need to add a task in the TaskQueue. But I need a small delay before
exectution (2 seconds). I use countdownMillis(long) to delay the
execution.  But execution starts immediatelly. I don't understand if
my code is wrong or if there is a problem with countdownMillis.

My code is:

Queue queue = QueueFactory.getQueue(queueName);
TaskOptions taskOpts = TaskOptions.Builder.url(url);
taskOpts.countdownMillis(delay);
taskOpts.method(Method.GET);
queue.add(taskOpts);


   Thank you for help


fabrizio

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to