You can while testing (this is from the users guide): LocalTaskQueue queue = LocalTaskQueueTestConfig.getLocalTaskQueue(); QueueStateInfo qsi = queue.getQueueStateInfo().get("default"); assertEquals(entriesCount, qsi.getTaskInfo().size());
Out of the development environment, you cannot. On Jun 5, 6:27 am, Didier Durand <durand.did...@gmail.com> wrote: > Hi, > I'm trying to use the Task Queues in my application. > > I don't find any method on > com.google.appengine.api.labs.taskqueue.Queue to obtain the current > number of tasks in the queue. It's important for me to monitor that it > doesn't go up too much meaning that something goes wrong in my app. > > Where is such a method as size() or length() on Queue ? > > regards > didier -- 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.