Package com.github.sonus21.rqueue.utils
Class Constants
- java.lang.Object
-
- com.github.sonus21.rqueue.utils.Constants
-
public final class Constants extends java.lang.Object
-
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetQueueCrudLockKey(RqueueConfig rqueueConfig, java.lang.String queueName)
-
-
-
Field Detail
-
BLANK
public static final java.lang.String BLANK
- See Also:
- Constant Field Values
-
ONE_MILLI
public static final long ONE_MILLI
- See Also:
- Constant Field Values
-
ONE_MILLI_INT
public static final int ONE_MILLI_INT
- See Also:
- Constant Field Values
-
SECONDS_IN_A_MINUTE
public static final int SECONDS_IN_A_MINUTE
- See Also:
- Constant Field Values
-
MILLIS_IN_A_MINUTE
public static final long MILLIS_IN_A_MINUTE
- See Also:
- Constant Field Values
-
MINUTES_IN_AN_HOUR
public static final int MINUTES_IN_AN_HOUR
- See Also:
- Constant Field Values
-
HOURS_IN_A_DAY
public static final int HOURS_IN_A_DAY
- See Also:
- Constant Field Values
-
DAYS_IN_A_MONTH
public static final int DAYS_IN_A_MONTH
- See Also:
- Constant Field Values
-
DAYS_IN_A_WEEK
public static final int DAYS_IN_A_WEEK
- See Also:
- Constant Field Values
-
MINUTES_IN_A_DAY
public static final int MINUTES_IN_A_DAY
- See Also:
- Constant Field Values
-
SECONDS_IN_A_DAY
public static final int SECONDS_IN_A_DAY
- See Also:
- Constant Field Values
-
MILLIS_IN_A_DAY
public static final long MILLIS_IN_A_DAY
- See Also:
- Constant Field Values
-
SECONDS_IN_A_WEEK
public static final int SECONDS_IN_A_WEEK
- See Also:
- Constant Field Values
-
DEFAULT_SCRIPT_EXECUTION_TIME
public static final long DEFAULT_SCRIPT_EXECUTION_TIME
- See Also:
- Constant Field Values
-
MIN_DELAY
public static final long MIN_DELAY
- See Also:
- Constant Field Values
-
MIN_EXECUTION_TIME
public static final long MIN_EXECUTION_TIME
- See Also:
- Constant Field Values
-
DELTA_BETWEEN_RE_ENQUEUE_TIME
public static final long DELTA_BETWEEN_RE_ENQUEUE_TIME
- See Also:
- Constant Field Values
-
TASK_ALIVE_TIME
public static final long TASK_ALIVE_TIME
- See Also:
- Constant Field Values
-
DEFAULT_RETRY_DEAD_LETTER_QUEUE
public static final int DEFAULT_RETRY_DEAD_LETTER_QUEUE
- See Also:
- Constant Field Values
-
MAX_MESSAGES
public static final int MAX_MESSAGES
- See Also:
- Constant Field Values
-
DEFAULT_WORKER_COUNT_PER_QUEUE
public static final int DEFAULT_WORKER_COUNT_PER_QUEUE
- See Also:
- Constant Field Values
-
AGGREGATION_LOCK_DURATION_IN_SECONDS
public static final int AGGREGATION_LOCK_DURATION_IN_SECONDS
- See Also:
- Constant Field Values
-
GITHUB_API_FOR_LATEST_RELEASE
public static final java.lang.String GITHUB_API_FOR_LATEST_RELEASE
- See Also:
- Constant Field Values
-
DEFAULT_PRIORITY_KEY
public static final java.lang.String DEFAULT_PRIORITY_KEY
- See Also:
- Constant Field Values
-
DEFAULT_PRIORITY_GROUP
public static final java.lang.String DEFAULT_PRIORITY_GROUP
- See Also:
- Constant Field Values
-
REDIS_KEY_SEPARATOR
public static final java.lang.String REDIS_KEY_SEPARATOR
- See Also:
- Constant Field Values
-
MAX_STACKTRACE_LENGTH
public static final int MAX_STACKTRACE_LENGTH
- See Also:
- Constant Field Values
-
Comma
public static final java.lang.String Comma
- See Also:
- Constant Field Values
-
MIN_BATCH_SIZE
public static final int MIN_BATCH_SIZE
- See Also:
- Constant Field Values
-
MIN_VISIBILITY
public static final long MIN_VISIBILITY
- See Also:
- Constant Field Values
-
BATCH_SIZE_FOR_CONCURRENCY_BASED_LISTENER
public static final int BATCH_SIZE_FOR_CONCURRENCY_BASED_LISTENER
- See Also:
- Constant Field Values
-
MIN_CONCURRENCY
public static final int MIN_CONCURRENCY
- See Also:
- Constant Field Values
-
MINIMUM_JOB_PERIOD
public static final long MINIMUM_JOB_PERIOD
- See Also:
- Constant Field Values
-
QUEUE_CRUD_LOCK_KEY_PREFIX
public static final java.lang.String QUEUE_CRUD_LOCK_KEY_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getQueueCrudLockKey
public static java.lang.String getQueueCrudLockKey(RqueueConfig rqueueConfig, java.lang.String queueName)
-
-