Class QueueConstants
- java.lang.Object
-
- com.google.appengine.api.taskqueue.QueueConstants
-
public final class QueueConstants extends Object
Describes various taskqueue limits.
-
-
Field Summary
Fields Modifier and Type Field Description static PatternQUEUE_NAME_PATTERNstatic StringQUEUE_NAME_REGEXRegular expression that matches all valid queue names.static PatternTASK_NAME_PATTERNstatic StringTASK_NAME_REGEXRegular expression that matches all valid task names.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static longgetMaxEtaDeltaMillis()Returns the maximum time into the future that a task may be scheduled.static longmaxLease(TimeUnit unit)Returns the maximum length of period to lease a task.static longmaxLeaseCount()Returns the maximum number of tasks to lease in one call.static intmaxPullTaskSizeBytes()Returns the maximum pull task size.static intmaxPushTaskSizeBytes()Returns the maximum push task size.static intmaxQueueNameLength()Returns the maximum length of a queue name.static intmaxTaskNameLength()Returns the maximum length of a task name.static intmaxTaskSizeBytes()Deprecated.static intmaxTasksPerAdd()Returns the maximum number of tasks that may be passed to a single add call.static intmaxTaskTagLength()Returns the maximum length of a task tag.static intmaxUrlLength()Returns the maximum URL length.
-
-
-
Field Detail
-
TASK_NAME_REGEX
public static final String TASK_NAME_REGEX
Regular expression that matches all valid task names.
-
TASK_NAME_PATTERN
public static final Pattern TASK_NAME_PATTERN
-
QUEUE_NAME_REGEX
public static final String QUEUE_NAME_REGEX
Regular expression that matches all valid queue names.
-
QUEUE_NAME_PATTERN
public static final Pattern QUEUE_NAME_PATTERN
-
-
Method Detail
-
maxLease
public static long maxLease(TimeUnit unit)
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 public static int 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.
-
-