|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractLocalRpcService com.google.appengine.api.taskqueue.dev.LocalTaskQueue
@ServiceProvider(value=) public final class LocalTaskQueue
A local implementation of the Task Queue service interface backed by Quartz
(http://www.opensymphony.com/quartz). This class is responsible for
managing the lifecycle of the Quartz Scheduler
but otherwise
delegates to DevQueue
for all the scheduling intelligence.
Field Summary | |
---|---|
static java.lang.String |
CALLBACK_CLASS_PROP
Overrides the LocalTaskQueueCallback class that is used to service
async task execution. |
static java.lang.String |
DISABLE_AUTO_TASK_EXEC_PROP
The name of a property that disables automatic task execution. |
static java.lang.String |
PACKAGE
The package name for this service. |
static java.lang.String |
QUEUE_XML_PATH_PROP
Overrides the path of queue.xml. |
Constructor Summary | |
---|---|
LocalTaskQueue()
|
Method Summary | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TaskQueueAddResponse |
add(Status status,
TaskQueueAddRequest addRequest)
PACKAGEpublic static final java.lang.String PACKAGE
DISABLE_AUTO_TASK_EXEC_PROPpublic static final java.lang.String DISABLE_AUTO_TASK_EXEC_PROP
QUEUE_XML_PATH_PROPpublic static final java.lang.String QUEUE_XML_PATH_PROP
CALLBACK_CLASS_PROPpublic static final java.lang.String CALLBACK_CLASS_PROP
LocalTaskQueuepublic LocalTaskQueue()
initpublic void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties) startpublic void start() stoppublic void stop() getPackagepublic java.lang.String getPackage() addpurgeQueue
bulkAdd
deletepublic TaskQueueDeleteResponse delete(Status status, TaskQueueDeleteRequest request)
queryAndOwnTasksgetQueueStateInfopublic java.util.Map<java.lang.String,QueueStateInfo> getQueueStateInfo()
flushQueue
deleteTaskpublic boolean deleteTask(java.lang.String queueName, java.lang.String taskName)
runTaskpublic boolean runTask(java.lang.String queueName, java.lang.String taskName)
getMaximumDeadlinepublic java.lang.Double getMaximumDeadline(boolean isOfflineRequest)
|