| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Job queue aggregator code that uses PhpRedis. 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: | 218 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JobQueueAggregatorRedis:: (11 methods):
__construct()
doNotifyQueueEmpty()
doNotifyQueueNonEmpty()
doGetAllReadyWikiQueues()
doPurge()
getConnection()
handleException()
getReadyQueueKey()
getQueueTypesKey()
encQueueName()
dencQueueName()
Class: JobQueueAggregatorRedis - X-Ref
Class to handle tracking information about all queues using PhpRedis| __construct( array $params ) X-Ref |
param: array $params Possible keys: |
| doNotifyQueueEmpty( $wiki, $type ) X-Ref |
| No description |
| doNotifyQueueNonEmpty( $wiki, $type ) X-Ref |
| No description |
| doGetAllReadyWikiQueues() X-Ref |
| No description |
| doPurge() X-Ref |
| No description |
| getConnection() X-Ref |
| Get a connection to the server that handles all sub-queues for this queue return: RedisConnRef|bool Returns false on failure |
| handleException( RedisConnRef $conn, $e ) X-Ref |
param: RedisConnRef $conn param: RedisException $e return: void |
| getReadyQueueKey() X-Ref |
return: string |
| getQueueTypesKey() X-Ref |
return: string |
| encQueueName( $type, $wiki ) X-Ref |
param: string $type param: string $wiki return: string |
| dencQueueName( $name ) X-Ref |
param: string $name return: string |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |