Uses of Class
com.google.appengine.api.taskqueue.TaskHandle
Packages that use TaskHandle
Package
Description
Provides a mechanism to perform work initiated by a user request, outside of that request.
-
Uses of TaskHandle in com.google.appengine.api.taskqueue
Methods in com.google.appengine.api.taskqueue that return TaskHandleModifier and TypeMethodDescriptionQueue.add()
Submits a task to this queue with an auto generated name with default options.Queue.add
(Transaction txn, TaskOptions taskOptions) Submits a task to this queue in the provided Transaction.Queue.add
(TaskOptions taskOptions) Submits a task to this queue.Queue.modifyTaskLease
(TaskHandle taskHandle, long lease, TimeUnit unit) Modify the lease of the specified task in thisQueue
for a period of time specified bylease
andunit
.Methods in com.google.appengine.api.taskqueue that return types with arguments of type TaskHandleModifier and TypeMethodDescriptionQueue.add
(Transaction txn, Iterable<TaskOptions> taskOptions) Submits tasks to this queue in the provided Transaction.Queue.add
(Iterable<TaskOptions> taskOptions) Submits tasks to this queue.Queue.addAsync()
Asynchronously submits a task to this queue with an auto generated name with default options.Queue.addAsync
(Transaction txn, TaskOptions taskOptions) Asynchronously submits a task to this queue in the provided Transaction.Queue.addAsync
(Transaction txn, Iterable<TaskOptions> taskOptions) Asynchronously submits tasks to this queue in the provided Transaction.Queue.addAsync
(TaskOptions taskOptions) Asynchronously submits a task to this queue.Queue.addAsync
(Iterable<TaskOptions> taskOptions) Asynchronously submits tasks to this queue.Queue.leaseTasks
(long lease, TimeUnit unit, long countLimit) Leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
.Queue.leaseTasks
(LeaseOptions options) Leases tasks from this queue, with lease period and other options specified byoptions
.Queue.leaseTasksAsync
(long lease, TimeUnit unit, long countLimit) Asynchronously leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
.Queue.leaseTasksAsync
(LeaseOptions options) Asynchronously leases tasks from this queue, with lease period and other options specified byoptions
.Queue.leaseTasksByTag
(long lease, TimeUnit unit, long countLimit, String tag) Leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
, having tagtag
.Queue.leaseTasksByTagAsync
(long lease, TimeUnit unit, long countLimit, String tag) Asynchronously leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
, having tagtag
.Queue.leaseTasksByTagBytes
(long lease, TimeUnit unit, long countLimit, byte[] tag) Leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
, having tagtag
.Queue.leaseTasksByTagBytesAsync
(long lease, TimeUnit unit, long countLimit, byte[] tag) Asynchronously leases up tocountLimit
tasks from this queue for a period specified bylease
andunit
, having tagtag
.Methods in com.google.appengine.api.taskqueue with parameters of type TaskHandleModifier and TypeMethodDescriptionboolean
Queue.deleteTask
(TaskHandle taskHandle) Deletes a task from thisQueue
.Queue.deleteTaskAsync
(TaskHandle taskHandle) Asynchronously deletes a task from thisQueue
.Queue.modifyTaskLease
(TaskHandle taskHandle, long lease, TimeUnit unit) Modify the lease of the specified task in thisQueue
for a period of time specified bylease
andunit
.Method parameters in com.google.appengine.api.taskqueue with type arguments of type TaskHandleModifier and TypeMethodDescriptionQueue.deleteTask
(List<TaskHandle> taskHandles) Deletes a list of tasks from thisQueue
.Queue.deleteTaskAsync
(List<TaskHandle> taskHandles) Asynchronously deletes a list of tasks from thisQueue
.