46 if ( !isset( self::$instance ) ) {
50 throw new MWException(
"Class '$class' is not a JobQueueAggregator class." );
52 self::$instance = $obj;
64 self::$instance =
null;
153 $pendingDBs[
$type][] = $db;
$wgLocalDatabases
Other wikis on this site, can be administered from a single developer account.
$wgJobQueueAggregator
Which aggregator to use for tracking which queues have jobs.
doNotifyQueueEmpty( $wiki, $type)
doGetAllReadyWikiQueues()
doNotifyQueueNonEmpty( $wiki, $type)
Class to handle tracking information about all queues.
__construct(array $params)
getAllReadyWikiQueues()
Get the list of all of the queues with jobs.
findPendingWikiQueues()
Get all databases that have a pending job.
notifyQueueNonEmpty( $wiki, $type)
Mark a queue as being non-empty.
static destroySingleton()
Destroy the singleton instance.
doNotifyQueueEmpty( $wiki, $type)
doNotifyQueueNonEmpty( $wiki, $type)
static JobQueueAggregator $instance
doGetAllReadyWikiQueues()
purge()
Purge all of the aggregator information.
notifyQueueEmpty( $wiki, $type)
Mark a queue as being empty.
static singleton( $wiki=false)