Uses of Class
com.google.appengine.api.taskqueue.TaskOptions
Packages that use TaskOptions
Package
Description
Provides a mechanism to perform work initiated by a user request, outside of that request.
-
Uses of TaskOptions in com.google.appengine.api.taskqueue
Methods in com.google.appengine.api.taskqueue that return TaskOptionsModifier and TypeMethodDescriptionTaskOptions.clearParams()Clears the parameters.TaskOptions.countdownMillis(long countdownMillis) Set the number of milliseconds delay before execution of the task.TaskOptions.dispatchDeadline(Duration dispatchDeadline) Sets the dispatch deadline for a task.TaskOptions.etaMillis(long etaMillis) Sets the approximate absolute time to execute.Adds a headername/valuepair.Replaces the existing headers with the provided headername/valuemapping.TaskOptions.method(TaskOptions.Method method) Set the method used for this task.Add a namedbytearray parameter.Add a namedStringparameter.TaskOptions.payload(byte[] payload) Sets the payload directly without specifying the content-type.Set the payload with the given content type.TaskOptions.payload(DeferredTask deferredTask) Sets the payload to the serialized form of the deferredTask object.Set the payload byString.Sets the payload from aStringgiven a specific character set.TaskOptions.removeHeader(String headerName) Remove all headers with the given name.TaskOptions.removeParam(String paramName) Remove all parameters with the given name.TaskOptions.retryOptions(RetryOptions retryOptions) Sets retry options for this task.TaskOptions.tag(byte[] tag) Sets the tag for a task.Sets the tag for a task.Sets the task name.Set the URL.static TaskOptionsTaskOptions.Builder.withCountdownMillis(long countdownMillis) Returns defaultTaskOptionsand callscountdownMillis(long).static TaskOptionsTaskOptions.Builder.withDefaults()Returns defaultTaskOptionswith default values.static TaskOptionsTaskOptions.Builder.withEtaMillis(long etaMillis) Returns defaultTaskOptionsand callsetaMillis(long).static TaskOptionsTaskOptions.Builder.withHeader(String headerName, String value) Returns defaultTaskOptionsand callsheader(String, String).static TaskOptionsTaskOptions.Builder.withHeaders(Map<String, String> headers) Returns defaultTaskOptionsand callsheaders(Map).static TaskOptionsTaskOptions.Builder.withMethod(TaskOptions.Method method) Returns defaultTaskOptionsand callsmethod(Method).static TaskOptionsReturns defaultTaskOptionsand callsparam(String, byte[]).static TaskOptionsReturns defaultTaskOptionsand callsparam(String, String).static TaskOptionsTaskOptions.Builder.withPayload(byte[] payload, String contentType) Returns defaultTaskOptionsand callspayload(byte[], String).static TaskOptionsTaskOptions.Builder.withPayload(DeferredTask deferredTask) Returns defaultTaskOptionsand callspayload(DeferredTask).static TaskOptionsTaskOptions.Builder.withPayload(String payload) Returns defaultTaskOptionsand callspayload(String).static TaskOptionsTaskOptions.Builder.withPayload(String payload, String charset) Returns defaultTaskOptionsand callspayload(String, String).static TaskOptionsTaskOptions.Builder.withRetryOptions(RetryOptions retryOptions) Returns defaultTaskOptionsand callsretryOptions(RetryOptions).static TaskOptionsTaskOptions.Builder.withTag(byte[] tag) Returns defaultTaskOptionsand callstag(byte[]).static TaskOptionsReturns defaultTaskOptionsand callstag(String).static TaskOptionsTaskOptions.Builder.withTaskName(String taskName) Returns defaultTaskOptionsand callstaskName(String).static TaskOptionsReturns defaultTaskOptionsand callsurl(String).Methods in com.google.appengine.api.taskqueue with parameters of type TaskOptionsModifier and TypeMethodDescriptionQueue.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.addAsync(Transaction txn, TaskOptions taskOptions) Asynchronously submits a task to this queue in the provided Transaction.Queue.addAsync(TaskOptions taskOptions) Asynchronously submits a task to this queue.Method parameters in com.google.appengine.api.taskqueue with type arguments of type TaskOptionsModifier 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(Transaction txn, Iterable<TaskOptions> taskOptions) Asynchronously submits tasks to this queue in the provided Transaction.Queue.addAsync(Iterable<TaskOptions> taskOptions) Asynchronously submits tasks to this queue.Constructors in com.google.appengine.api.taskqueue with parameters of type TaskOptionsModifierConstructorDescriptionTaskHandle(TaskOptions options, String queueName) TaskOptions(TaskOptions options) A copy constructor forTaskOptions.