任务队列的Java API [英] Task Queue Java API

查看:125
本文介绍了任务队列的Java API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是任务队列的Java API的目的是什么?它是如何工作的,并在是否应该使用吗?

What is the purpose of Task Queue Java API? How does it work, and where should it be used?

推荐答案

看起来pretty明确的:

The homepage looks pretty unambiguous:

使用任务队列API,应用程序
  可以用户外执行工作
  请求,但由用户发起的
  请求。如果应用程序需要执行
  一些后台的工作,它可以使用
  任务队列API来组织工作
  成小的,独立的单位,被称为
  任务。该应用程序然后插入这些
  任务到一个或多个队列。应用
  发动机会自动检测新任务
  并执行时系统
  资源许可。

With the Task Queue API, applications can perform work outside of a user request but initiated by a user request. If an app needs to execute some background work, it may use the Task Queue API to organize that work into small, discrete units, called Tasks. The app then inserts these Tasks into one or more Queues. App Engine automatically detects new Tasks and executes them when system resources permit.

这篇关于任务队列的Java API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆