MediaWiki
1.28.0
|
Class to handle tracking information about all queues. More...
Public Member Functions | |
__construct (array $params) | |
getAllReadyWikiQueues () | |
Get the list of all of the queues with jobs. More... | |
notifyQueueEmpty ($wiki, $type) | |
Mark a queue as being empty. More... | |
notifyQueueNonEmpty ($wiki, $type) | |
Mark a queue as being non-empty. More... | |
purge () | |
Purge all of the aggregator information. More... | |
Static Public Member Functions | |
static | destroySingleton () |
Destroy the singleton instance. More... | |
static | singleton () |
Protected Member Functions | |
doGetAllReadyWikiQueues () | |
doNotifyQueueEmpty ($wiki, $type) | |
doNotifyQueueNonEmpty ($wiki, $type) | |
doPurge () | |
findPendingWikiQueues () | |
Get all databases that have a pending job. More... | |
Static Protected Attributes | |
static JobQueueAggregator | $instance = null |
Class to handle tracking information about all queues.
Definition at line 30 of file JobQueueAggregator.php.
JobQueueAggregator::__construct | ( | array | $params | ) |
array | $params |
Definition at line 37 of file JobQueueAggregator.php.
|
staticfinal |
|
abstractprotected |
Referenced by getAllReadyWikiQueues().
|
abstractprotected |
Referenced by notifyQueueEmpty().
|
abstractprotected |
Referenced by notifyQueueNonEmpty().
|
abstractprotected |
Referenced by purge().
|
protected |
Get all databases that have a pending job.
This poll all the queues and is this expensive.
Definition at line 142 of file JobQueueAggregator.php.
References $type, $wgLocalDatabases, as, global, and JobQueueGroup\singleton().
|
final |
Get the list of all of the queues with jobs.
Definition at line 109 of file JobQueueAggregator.php.
References $res, and doGetAllReadyWikiQueues().
|
final |
Mark a queue as being empty.
string | $wiki | |
string | $type |
Definition at line 75 of file JobQueueAggregator.php.
References $type, and doNotifyQueueEmpty().
|
final |
Mark a queue as being non-empty.
string | $wiki | |
string | $type |
Definition at line 93 of file JobQueueAggregator.php.
References $type, and doNotifyQueueNonEmpty().
|
final |
Purge all of the aggregator information.
Definition at line 125 of file JobQueueAggregator.php.
|
staticfinal |
MWException |
Definition at line 44 of file JobQueueAggregator.php.
References global.
Referenced by JobQueueGroup\get().
|
staticprotected |
Definition at line 32 of file JobQueueAggregator.php.