|
MediaWiki master
|
Base class for queueing and running background jobs from a storage backend. More...
Inherited by MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.

Public Member Functions | |
| ack (RunnableJob $job) | |
| Acknowledge that a job was completed. | |
| batchPush (array $jobs, $flags=0) | |
| Push a batch of jobs into the queue. | |
| deduplicateRootJob (IJobSpecification $job) | |
| Register the "root job" of a given job into the queue for de-duplication. | |
| delayedJobsEnabled () | |
| delete () | |
| Delete all unclaimed and delayed jobs from the queue. | |
| flushCaches () | |
| Clear any process and persistent caches. | |
| getAbandonedCount () | |
| Get the number of acquired jobs that can no longer be attempted. | |
| getAcquiredCount () | |
| Get the number of acquired jobs (these are temporarily out of the queue). | |
| getAllAbandonedJobs () | |
| Get an iterator to traverse over all abandoned jobs in this queue. | |
| getAllAcquiredJobs () | |
| Get an iterator to traverse over all claimed jobs in this queue. | |
| getAllDelayedJobs () | |
| Get an iterator to traverse over all delayed jobs in this queue. | |
| getAllQueuedJobs () | |
| Get an iterator to traverse over all available jobs in this queue. | |
| getCoalesceLocationInternal () | |
| Do not use this function outside of JobQueue/JobQueueGroup. | |
| getDelayedCount () | |
| Get the number of delayed jobs (these are temporarily out of the queue). | |
| getDomain () | |
| getOrder () | |
| getReadOnlyReason () | |
| getSiblingQueueSizes (array $types) | |
| Check the size of each of the given queues. | |
| getSiblingQueuesWithJobs (array $types) | |
| Check whether each of the given queues are empty. | |
| getSize () | |
| Get the number of available (unacquired, non-delayed) jobs in the queue. | |
| getType () | |
| isEmpty () | |
| Quickly check if the queue has no available (unacquired, non-delayed) jobs. | |
| pop () | |
| Pop a job off of the queue. | |
| push ( $jobs, $flags=0) | |
| Push one or more jobs into the queue. | |
| waitForBackups () | |
| Wait for any replica DBs or backup servers to catch up. | |
Static Public Member Functions | |
| static | factory (array $params) |
| Get a job queue object of the specified type. | |
Protected Member Functions | |
| __construct (array $params) | |
| assertNotReadOnly () | |
| doAck (RunnableJob $job) | |
| doBatchPush (array $jobs, $flags) | |
| doDeduplicateRootJob (IJobSpecification $job) | |
| doDelete () | |
| doFlushCaches () | |
| doGetAbandonedCount () | |
| doGetAcquiredCount () | |
| doGetDelayedCount () | |
| doGetSiblingQueueSizes (array $types) | |
| doGetSiblingQueuesWithJobs (array $types) | |
| doGetSize () | |
| doIsEmpty () | |
| doIsRootJobOldDuplicate (IJobSpecification $job) | |
| doPop () | |
| doWaitForBackups () | |
| factoryJob ( $command, $params) | |
| getRootJobCacheKey ( $signature, $type) | |
| incrStats ( $event, $type, $delta=1) | |
| Call StatsFactory::incrementBy() for the queue overall and for the queue type. | |
| isRootJobOldDuplicate (IJobSpecification $job) | |
| Check if the "root" job of a given job has been superseded by a newer one. | |
| optimalOrder () | |
| Get the default queue order to use if configuration does not specify one. | |
| supportedOrders () | |
| Get the allowed queue orders for configuration validation. | |
| supportsDelayedJobs () | |
| Find out if delayed jobs are supported for configuration validation. | |
| supportsTypeAgnostic () | |
| Subclasses should set this to true if they support type agnostic queues. | |
Protected Attributes | |
| int | $claimTTL |
| Time to live in seconds. | |
| string | $domain |
| DB domain ID. | |
| GlobalIdGenerator | $idGenerator |
| int | $maxTries |
| Maximum number of times to try a job. | |
| string | $order |
| Job priority for pop() | |
| string false | $readOnlyReason |
| Read only rationale (or false if r/w) | |
| StatsFactory | $stats |
| string | $type |
| Job type. | |
| bool | $typeAgnostic |
| WANObjectCache | $wanCache |
| const | QOS_ATOMIC = 1 |
| const | ROOTJOB_TTL = 28 * 24 * 3600 |
Base class for queueing and running background jobs from a storage backend.
See the architecture doc at jobqueue/README.md for more information.
Definition at line 36 of file JobQueue.php.
|
protected |
| array | $params |
|
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 84 of file JobQueue.php.
References MediaWiki\MediaWikiServices\getInstance(), MediaWiki\JobQueue\JobQueue\optimalOrder(), MediaWiki\JobQueue\JobQueue\supportedOrders(), and MediaWiki\JobQueue\JobQueue\supportsTypeAgnostic().
|
final |
Acknowledge that a job was completed.
This does nothing for certain queue classes or if "claimTTL" is not set. Outside callers should use JobQueueGroup::ack() instead of this function.
| RunnableJob | $job |
| JobQueueError |
Definition at line 433 of file JobQueue.php.
References $job, MediaWiki\JobQueue\JobQueue\assertNotReadOnly(), and MediaWiki\JobQueue\JobQueue\doAck().
|
protected |
| JobQueueReadOnlyError |
Definition at line 743 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\ack(), MediaWiki\JobQueue\JobQueue\batchPush(), MediaWiki\JobQueue\JobQueue\deduplicateRootJob(), MediaWiki\JobQueue\JobQueue\delete(), and MediaWiki\JobQueue\JobQueue\pop().
|
final |
Push a batch of jobs into the queue.
This does not require $wgJobClasses to be set for the given job type. Outside callers should use JobQueueGroup::push() instead of this function.
| IJobSpecification[] | $jobs | |
| int | $flags | Bitfield (supports JobQueue::QOS_ATOMIC) |
| JobQueueError |
Definition at line 357 of file JobQueue.php.
References $job, MediaWiki\JobQueue\JobQueue\assertNotReadOnly(), MediaWiki\JobQueue\JobQueue\deduplicateRootJob(), and MediaWiki\JobQueue\JobQueue\doBatchPush().
Referenced by MediaWiki\JobQueue\JobQueue\push().
|
final |
Register the "root job" of a given job into the queue for de-duplication.
This should only be called right after all the new jobs have been inserted. This is used to turn older, duplicate, job entries into no-ops. The root job information will remain in the registry until it simply falls out of cache.
This requires that $job has two special fields in the "params" array:
A "root job" is a conceptual job that consist of potentially many smaller jobs that are actually inserted into the queue. For example, "refreshLinks" jobs are spawned when a template is edited. One can think of the task as "update links of pages that use template X" and an instance of that task as a "root job". However, what actually goes into the queue are range and leaf job subtypes. Since these jobs include things like page ID ranges and DB primary positions, and can morph into smaller jobs recursively, simple duplicate detection for individual jobs being identical (like that of job_sha1) is not useful.
In the case of "refreshLinks", if these jobs are still in the queue when the template is edited again, we want all of these old refreshLinks jobs for that template to become no-ops. This can greatly reduce server load, since refreshLinks jobs involves parsing. Essentially, the new batch of jobs belong to a new "root job" and the older ones to a previous "root job" for the same task of "update links of pages that use template X".
This does nothing for certain queue classes.
| IJobSpecification | $job |
| JobQueueError |
Definition at line 478 of file JobQueue.php.
References $job, MediaWiki\JobQueue\JobQueue\assertNotReadOnly(), and MediaWiki\JobQueue\JobQueue\doDeduplicateRootJob().
Referenced by MediaWiki\JobQueue\JobQueue\batchPush().
|
final |
Definition at line 205 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\supportsDelayedJobs().
|
final |
Delete all unclaimed and delayed jobs from the queue.
| JobQueueError |
Definition at line 571 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\assertNotReadOnly(), and MediaWiki\JobQueue\JobQueue\doDelete().
|
abstractprotected |
| RunnableJob | $job |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\ack().
|
abstractprotected |
| IJobSpecification[] | $jobs | |
| int | $flags |
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\batchPush().
|
protected |
| IJobSpecification | $job |
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 492 of file JobQueue.php.
References $job, and MediaWiki\JobQueue\JobQueue\getRootJobCacheKey().
Referenced by MediaWiki\JobQueue\JobQueue\deduplicateRootJob().
|
protected |
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 582 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\delete().
|
protected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, and MediaWiki\JobQueue\JobQueueFederated.
Definition at line 620 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\flushCaches().
|
protected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 328 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getAbandonedCount().
|
abstractprotected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\getAcquiredCount().
|
protected |
Reimplemented in MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 304 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getDelayedCount().
|
protected |
| array | $types | List of queues types |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 727 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getSiblingQueueSizes().
|
protected |
| array | $types | List of queues types |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 703 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getSiblingQueuesWithJobs().
|
abstractprotected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\getSize().
|
abstractprotected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\isEmpty().
|
protected |
| IJobSpecification | $job |
Reimplemented in MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 531 of file JobQueue.php.
References $job, and MediaWiki\JobQueue\JobQueue\getRootJobCacheKey().
Referenced by MediaWiki\JobQueue\JobQueue\isRootJobOldDuplicate().
|
abstractprotected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\pop().
|
protected |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, and MediaWiki\JobQueue\JobQueueFederated.
Definition at line 603 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\waitForBackups().
|
staticfinal |
Get a job queue object of the specified type.
$params includes:
Queue classes should throw an exception if they do not support the options given.
| array | $params |
| JobQueueError |
Definition at line 142 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueueFederated\__construct(), MediaWiki\JobQueue\JobQueueGroup\get(), and MediaWiki\JobQueue\JobQueueGroup\getCoalescedQueues().
|
protected |
| string | $command | |
| array | $params |
Definition at line 736 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueueRedis\getJobFromFields(), MediaWiki\JobQueue\JobQueueRedis\getJobFromUidInternal(), MediaWiki\JobQueue\JobQueueDB\jobFromRow(), and MediaWiki\JobQueue\JobQueueMemory\jobFromSpecInternal().
|
final |
Clear any process and persistent caches.
Definition at line 611 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doFlushCaches().
|
final |
Get the number of acquired jobs that can no longer be attempted.
Queue classes should use caching if they are any slower without memcached.
If caching is used, this number might be out of date for a minute.
| JobQueueError |
Definition at line 317 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetAbandonedCount().
|
final |
Get the number of acquired jobs (these are temporarily out of the queue).
Queue classes should use caching if they are any slower without memcached.
If caching is used, this number might be out of date for a minute.
| JobQueueError |
Definition at line 271 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetAcquiredCount().
Referenced by MediaWiki\JobQueue\JobQueueMemory\doAck().
| MediaWiki\JobQueue\JobQueue::getAllAbandonedJobs | ( | ) |
Get an iterator to traverse over all abandoned jobs in this queue.
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 669 of file JobQueue.php.
| MediaWiki\JobQueue\JobQueue::getAllAcquiredJobs | ( | ) |
Get an iterator to traverse over all claimed jobs in this queue.
Callers should be quick to iterator over it or few results will be returned due to jobs being acknowledged and deleted
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 657 of file JobQueue.php.
| MediaWiki\JobQueue\JobQueue::getAllDelayedJobs | ( | ) |
Get an iterator to traverse over all delayed jobs in this queue.
Note: results may be stale if the queue is concurrently modified.
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 642 of file JobQueue.php.
|
abstract |
Get an iterator to traverse over all available jobs in this queue.
This does not include jobs that are currently acquired or delayed. Note: results may be stale if the queue is concurrently modified.
| JobQueueError |
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
| MediaWiki\JobQueue\JobQueue::getCoalesceLocationInternal | ( | ) |
Do not use this function outside of JobQueue/JobQueueGroup.
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 680 of file JobQueue.php.
|
final |
Get the number of delayed jobs (these are temporarily out of the queue).
Queue classes should use caching if they are any slower without memcached.
If caching is used, this number might be out of date for a minute.
| JobQueueError |
Definition at line 293 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetDelayedCount().
|
final |
Definition at line 159 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$domain.
|
final |
Definition at line 173 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$order.
| MediaWiki\JobQueue\JobQueue::getReadOnlyReason | ( | ) |
Definition at line 213 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$readOnlyReason.
|
protected |
| string | $signature | Hash identifier of the root job |
| string | $type | job type |
Definition at line 554 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$type.
Referenced by MediaWiki\JobQueue\JobQueue\doDeduplicateRootJob(), MediaWiki\JobQueue\JobQueueRedis\doDeduplicateRootJob(), MediaWiki\JobQueue\JobQueue\doIsRootJobOldDuplicate(), and MediaWiki\JobQueue\JobQueueRedis\doIsRootJobOldDuplicate().
|
final |
Check the size of each of the given queues.
For queues not served by the same store as this one, 0 is returned. This is used for batching checks for queues stored at the same place.
| array | $types | List of queues types |
| JobQueueError |
Definition at line 717 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetSiblingQueueSizes().
|
final |
Check whether each of the given queues are empty.
This is used for batching checks for queues stored at the same place.
| array | $types | List of queues types |
| JobQueueError |
Definition at line 693 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetSiblingQueuesWithJobs().
|
final |
Get the number of available (unacquired, non-delayed) jobs in the queue.
Queue classes should use caching if they are any slower without memcached.
If caching is used, this number might be out of date for a minute.
| JobQueueError |
Definition at line 250 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doGetSize().
|
final |
Definition at line 166 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$type.
Referenced by MediaWiki\JobQueue\JobQueueDB\getAllAbandonedJobs(), MediaWiki\JobQueue\JobQueueDB\getAllAcquiredJobs(), and MediaWiki\JobQueue\JobQueueDB\getAllQueuedJobs().
|
protected |
Call StatsFactory::incrementBy() for the queue overall and for the queue type.
| string | $event | Event type |
| string | $type | Job type |
| int | $delta |
Definition at line 770 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\$type.
Referenced by MediaWiki\JobQueue\JobQueueDB\doAck(), MediaWiki\JobQueue\JobQueueRedis\doAck(), MediaWiki\JobQueue\JobQueueRedis\doBatchPush(), MediaWiki\JobQueue\JobQueueDB\doBatchPushInternal(), MediaWiki\JobQueue\JobQueueDB\doPop(), MediaWiki\JobQueue\JobQueueRedis\doPop(), MediaWiki\JobQueue\JobQueue\pop(), and MediaWiki\JobQueue\JobQueueDB\recycleAndDeleteStaleJobs().
|
final |
Quickly check if the queue has no available (unacquired, non-delayed) jobs.
Queue classes should use caching if they are any slower without memcached.
If caching is used, this might return false when there are actually no jobs. If pop() is called and returns false then it should correct the cache. Also, calling flushCaches() first prevents this. However, this effect is typically not distinguishable from the race condition between isEmpty() and pop().
| JobQueueError |
Definition at line 229 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doIsEmpty().
|
finalprotected |
Check if the "root" job of a given job has been superseded by a newer one.
| IJobSpecification | $job |
| JobQueueError |
Definition at line 519 of file JobQueue.php.
References $job, and MediaWiki\JobQueue\JobQueue\doIsRootJobOldDuplicate().
Referenced by MediaWiki\JobQueue\JobQueue\pop().
|
abstractprotected |
Get the default queue order to use if configuration does not specify one.
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\__construct().
|
final |
Pop a job off of the queue.
This requires $wgJobClasses to be set for the given job type. Outside callers should use JobQueueGroup::pop() instead of this function.
| JobQueueError |
Definition at line 397 of file JobQueue.php.
References $job, MediaWiki\JobQueue\JobQueue\assertNotReadOnly(), MediaWiki\JobQueue\JobQueue\doPop(), MediaWiki\JobQueue\JobQueue\incrStats(), and MediaWiki\JobQueue\JobQueue\isRootJobOldDuplicate().
|
final |
Push one or more jobs into the queue.
This does not require $wgJobClasses to be set for the given job type. Outside callers should use JobQueueGroup::push() instead of this function.
| IJobSpecification | IJobSpecification[] | $jobs | |
| int | $flags | Bitfield (supports JobQueue::QOS_ATOMIC) |
| JobQueueError |
Definition at line 342 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\batchPush().
Referenced by CopyJobQueue\copyJobs().
|
abstractprotected |
Get the allowed queue orders for configuration validation.
Reimplemented in MediaWiki\JobQueue\JobQueueDB, MediaWiki\JobQueue\JobQueueFederated, MediaWiki\JobQueue\JobQueueMemory, and MediaWiki\JobQueue\JobQueueRedis.
Referenced by MediaWiki\JobQueue\JobQueue\__construct().
|
protected |
Find out if delayed jobs are supported for configuration validation.
Reimplemented in MediaWiki\JobQueue\JobQueueFederated, and MediaWiki\JobQueue\JobQueueRedis.
Definition at line 197 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\delayedJobsEnabled().
|
protected |
Subclasses should set this to true if they support type agnostic queues.
Definition at line 784 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\__construct().
|
final |
Wait for any replica DBs or backup servers to catch up.
This does nothing for certain queue classes.
| JobQueueError |
Definition at line 594 of file JobQueue.php.
References MediaWiki\JobQueue\JobQueue\doWaitForBackups().
Referenced by CopyJobQueue\copyJobs().
|
protected |
Time to live in seconds.
Definition at line 44 of file JobQueue.php.
|
protected |
DB domain ID.
Definition at line 38 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueueFederated\__construct(), and MediaWiki\JobQueue\JobQueue\getDomain().
|
protected |
Definition at line 52 of file JobQueue.php.
|
protected |
Maximum number of times to try a job.
Definition at line 46 of file JobQueue.php.
|
protected |
Job priority for pop()
Definition at line 42 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getOrder().
|
protected |
Read only rationale (or false if r/w)
Definition at line 48 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueue\getReadOnlyReason().
|
protected |
Definition at line 50 of file JobQueue.php.
|
protected |
Job type.
Definition at line 40 of file JobQueue.php.
Referenced by MediaWiki\JobQueue\JobQueueDB\doFlushCaches(), MediaWiki\JobQueue\JobQueueFederated\doGetSiblingQueueSizes(), MediaWiki\JobQueue\JobQueueRedis\doGetSiblingQueueSizes(), MediaWiki\JobQueue\JobQueue\getRootJobCacheKey(), MediaWiki\JobQueue\JobQueue\getType(), and MediaWiki\JobQueue\JobQueue\incrStats().
|
protected |
Definition at line 58 of file JobQueue.php.
|
protected |
Definition at line 55 of file JobQueue.php.
|
protected |
Definition at line 63 of file JobQueue.php.
|
protected |
Definition at line 66 of file JobQueue.php.