google app engine - Do I have to call get() on the future returned by TaskQueue's addAsync()? -


i using experimental feature of java app engine released in 1.7.6 async task queue operations.

the documentation here: https://developers.google.com/appengine/docs/java/taskqueue/overview#asynchronous-operations

my question is, have call get() on returned future when doing taskqueue.addasync(), or pretty guaranteed addasync() add task queue add()?

for example, happens if incoming http request addasync() of 1 or more tasks , request completes , never call get()? information on helpful.

thanks

the documentation says should indeed call get():

when asynchronously adding tasks in transaction, should call get() on future before committing transaction ensure request has finished.

it's not clear whether should if don't in transaction it's idea anyway.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -