Class QueueConstants
java.lang.Object
com.google.appengine.api.taskqueue.QueueConstants
Describes various taskqueue limits.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic longReturns the maximum time into the future that a task may be scheduled.static longReturns the maximum length of period to lease a task.static longReturns the maximum number of tasks to lease in one call.static intReturns the maximum pull task size.static intReturns the maximum push task size.static intReturns the maximum length of a queue name.static intReturns the maximum length of a task name.static intDeprecated.static intReturns the maximum number of tasks that may be passed to a single add call.static intReturns the maximum length of a task tag.static intReturns the maximum URL length.
-
Field Details
-
TASK_NAME_REGEX
Regular expression that matches all valid task names. -
TASK_NAME_PATTERN
-
QUEUE_NAME_REGEX
Regular expression that matches all valid queue names. -
QUEUE_NAME_PATTERN
-
-
Method Details
-
maxLease
Returns the maximum length of period to lease a task. -
maxLeaseCount
public static long maxLeaseCount()Returns the maximum number of tasks to lease in one call. -
maxQueueNameLength
public static int maxQueueNameLength()Returns the maximum length of a queue name. -
maxTaskNameLength
public static int maxTaskNameLength()Returns the maximum length of a task name. -
maxTaskTagLength
public static int maxTaskTagLength()Returns the maximum length of a task tag. -
maxTaskSizeBytes
Deprecated.Returns the maximum push task size. -
maxPushTaskSizeBytes
public static int maxPushTaskSizeBytes()Returns the maximum push task size. -
maxPullTaskSizeBytes
public static int maxPullTaskSizeBytes()Returns the maximum pull task size. -
maxTasksPerAdd
public static int maxTasksPerAdd()Returns the maximum number of tasks that may be passed to a single add call. -
maxUrlLength
public static int maxUrlLength()Returns the maximum URL length. -
getMaxEtaDeltaMillis
public static long getMaxEtaDeltaMillis()Returns the maximum time into the future that a task may be scheduled.
-
maxPushTaskSizeBytes()