[appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-07 Thread Andy
Sorry I don't quite understand your answer, what do you mean
by DataStore Operation?

-- 
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.



Re: [appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-07 Thread John Patterson
There is no public API for checking the status of tasks.  A task is  
really nothing more than a normal http request which is monitored by  
GAE to retry it if it fails.  The real brains is in the task queue  
which is simply a queue of URL's that app engine will fire off at a  
given rate and retry failed requests.


The only public method to check tasks (http requests) in this queue is  
the console webpage.  Its up to you to monitor your tasks yourself by  
storing some kind of status data in memcache or the datastore.


On 7 Oct 2010, at 20:13, Andy wrote:

Sorry I don't quite understand your answer, what do you mean by  
DataStore Operation?


--
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-java@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 
.


--
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.



Re: [appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-07 Thread Andy Leung
gotcha, thank you.

On Thu, Oct 7, 2010 at 10:37 AM, John Patterson jdpatter...@gmail.comwrote:

 There is no public API for checking the status of tasks.  A task is really
 nothing more than a normal http request which is monitored by GAE to retry
 it if it fails.  The real brains is in the task queue which is simply a
 queue of URL's that app engine will fire off at a given rate and retry
 failed requests.

 The only public method to check tasks (http requests) in this queue is the
 console webpage.  Its up to you to monitor your tasks yourself by storing
 some kind of status data in memcache or the datastore.


 On 7 Oct 2010, at 20:13, Andy wrote:

  Sorry I don't quite understand your answer, what do you mean by DataStore
 Operation?

 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


 --
 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.



-- 
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.



[appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-06 Thread Robert Lancer
You fire the task and the task  is retried until the operation is
complete, you can see the tasks being retried in the admin console,
but there is no hook to when its completed, considering that it may
take a day or two to complete based on how many retries are required.

On Oct 6, 1:10 pm, Andy hksduhk...@gmail.com wrote:
 Hi,

 I have read the Task API for many times and am still confused about the
 web hook. If web hook is asynchronous, where do I get the signal (like
 Future) that my task is completed and where do I get the response of
 the web hook request?

 Thanks,

 Andy

-- 
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.



[appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-06 Thread Robert Lancer
A datastore operation for when the task completes would prob be your
best bet.

On Oct 6, 3:23 pm, Andy hksduhk...@gmail.com wrote:
 Thanks for your quick reply Robert.

 So is there a way to check the task status by task ID or some sort?

-- 
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.



[appengine-java] Re: Web Hook - Asynchronous - Where is my response?

2010-10-06 Thread Andy
Thanks for your quick reply Robert.


So is there a way to check the task status by task ID or some sort?

-- 
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.