public final class QueueConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
QUEUE_NAME_PATTERN |
static java.lang.String |
QUEUE_NAME_REGEX
Regular expression that matches all valid queue names.
|
static java.util.regex.Pattern |
TASK_NAME_PATTERN |
static java.lang.String |
TASK_NAME_REGEX
Regular expression that matches all valid task names.
|
Modifier and Type | Method and Description |
---|---|
static long |
getMaxEtaDeltaMillis()
Returns the maximum time into the future that a task may be scheduled.
|
static long |
maxLease(java.util.concurrent.TimeUnit unit)
Returns the maximum length of period to lease a task.
|
static long |
maxLeaseCount()
Returns the maximum number of tasks to lease in one call.
|
static int |
maxPullTaskSizeBytes()
Returns the maximum pull task size.
|
static int |
maxPushTaskSizeBytes()
Returns the maximum push task size.
|
static int |
maxQueueNameLength()
Returns the maximum length of a queue name.
|
static int |
maxTaskNameLength()
Returns the maximum length of a task name.
|
static int |
maxTaskSizeBytes()
Deprecated.
|
static int |
maxTasksPerAdd()
Returns the maximum number of tasks that may be passed to a single add
call.
|
static int |
maxTaskTagLength()
Returns the maximum length of a task tag.
|
static int |
maxUrlLength()
Returns the maximum URL length.
|
public static final java.lang.String TASK_NAME_REGEX
public static final java.util.regex.Pattern TASK_NAME_PATTERN
public static final java.lang.String QUEUE_NAME_REGEX
public static final java.util.regex.Pattern QUEUE_NAME_PATTERN
public static long maxLease(java.util.concurrent.TimeUnit unit)
public static long maxLeaseCount()
public static int maxQueueNameLength()
public static int maxTaskNameLength()
public static int maxTaskTagLength()
@Deprecated public static int maxTaskSizeBytes()
maxPushTaskSizeBytes()
public static int maxPushTaskSizeBytes()
public static int maxPullTaskSizeBytes()
public static int maxTasksPerAdd()
public static int maxUrlLength()
public static long getMaxEtaDeltaMillis()