I have a scenario in my app where I'd like to be able to do that too.  But
instead of looking for an API to do that, I resorted to using a pull queue
instead.  A backend processes my pull queue a few times in a day, but
between those times, I'd like to be able to query the pull queue and gather
some statistics based on the payload in all the queued pull tasks.  I do
that by leasing the tasks for a short period of time, so I can peak into
them.  And then I don't delete the tasks.  GAE doesn't delete my tasks after
I lease them either, because I have set the retry count to default=0.  Using
pull queues also had the advantage for me because it allowed me to utilize
my backend within the free 9 hour quota, and free up those Instance Hours
from front-ends, and eventually result in a lower instance hour bill.


On Tue, Sep 20, 2011 at 2:09 AM, Emlyn <emlynore...@gmail.com> wrote:

> Is there a way to interrogate a push queue from code?
>
> ie: list the tasks in the queue, and maybe get the status of each task?
>
> Or, is there a way, given a task object, to get the current status of the
> task?
>
> --
> Emlyn
>
> http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
> Buzz posts,
> comments and all.
> http://point7.wordpress.com - My blog
> Find me on Facebook and Buzz
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to