public final class QueueConstants
Describes various taskqueue limits.
Static Fields
QUEUE_NAME_PATTERN
public static final Pattern QUEUE_NAME_PATTERN
Field Value |
Type |
Description |
Pattern |
|
QUEUE_NAME_REGEX
public static final String QUEUE_NAME_REGEX
Regular expression that matches all valid queue names.
Field Value |
Type |
Description |
String |
|
TASK_NAME_PATTERN
public static final Pattern TASK_NAME_PATTERN
Field Value |
Type |
Description |
Pattern |
|
TASK_NAME_REGEX
public static final String TASK_NAME_REGEX
Regular expression that matches all valid task names.
Field Value |
Type |
Description |
String |
|
Static Methods
getMaxEtaDeltaMillis()
public static long getMaxEtaDeltaMillis()
Returns the maximum time into the future that a task may be scheduled.
Returns |
Type |
Description |
long |
|
maxLease(TimeUnit unit)
public static long maxLease(TimeUnit unit)
Returns the maximum length of period to lease a task.
Parameter |
Name |
Description |
unit |
TimeUnit
|
Returns |
Type |
Description |
long |
|
maxLeaseCount()
public static long maxLeaseCount()
Returns the maximum number of tasks to lease in one call.
Returns |
Type |
Description |
long |
|
maxPullTaskSizeBytes()
public static int maxPullTaskSizeBytes()
Returns the maximum pull task size.
Returns |
Type |
Description |
int |
|
maxPushTaskSizeBytes()
public static int maxPushTaskSizeBytes()
Returns the maximum push task size.
Returns |
Type |
Description |
int |
|
maxQueueNameLength()
public static int maxQueueNameLength()
Returns the maximum length of a queue name.
Returns |
Type |
Description |
int |
|
maxTaskNameLength()
public static int maxTaskNameLength()
Returns the maximum length of a task name.
Returns |
Type |
Description |
int |
|
maxTaskSizeBytes() (deprecated)
public static int maxTaskSizeBytes()
Returns |
Type |
Description |
int |
|
maxTaskTagLength()
public static int maxTaskTagLength()
Returns the maximum length of a task tag.
Returns |
Type |
Description |
int |
|
maxTasksPerAdd()
public static int maxTasksPerAdd()
Returns the maximum number of tasks that may be passed to a single add call.
Returns |
Type |
Description |
int |
|
maxUrlLength()
public static int maxUrlLength()
Returns the maximum URL length.
Returns |
Type |
Description |
int |
|