[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Job queue aggregator code. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Author: | Aaron Schulz |
File Size: | 162 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct( array $params ) X-Ref |
param: array $params |
singleton() X-Ref |
return: JobQueueAggregator |
destroySingleton() X-Ref |
Destroy the singleton instance return: void |
notifyQueueEmpty( $wiki, $type ) X-Ref |
Mark a queue as being empty param: string $wiki param: string $type return: bool Success |
notifyQueueNonEmpty( $wiki, $type ) X-Ref |
Mark a queue as being non-empty param: string $wiki param: string $type return: bool Success |
getAllReadyWikiQueues() X-Ref |
Get the list of all of the queues with jobs return: array (job type => (list of wiki IDs)) |
purge() X-Ref |
Purge all of the aggregator information return: bool Success |
findPendingWikiQueues() X-Ref |
Get all databases that have a pending job. This poll all the queues and is this expensive. return: array (job type => (list of wiki IDs)) |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |