Class QueueConstants
java.lang.Object
com.google.appengine.api.taskqueue.QueueConstants
Describes various taskqueue limits.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic long
Returns the maximum time into the future that a task may be scheduled.static long
Returns the maximum length of period to lease a task.static long
Returns the maximum number of tasks to lease in one call.static int
Returns the maximum pull task size.static int
Returns the maximum push task size.static int
Returns the maximum length of a queue name.static int
Returns the maximum length of a task name.static int
Deprecated.static int
Returns the maximum number of tasks that may be passed to a single add call.static int
Returns the maximum length of a task tag.static int
Returns 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()