|
MediaWiki
REL1_24
|
Class to handle tracking information about all queues using PhpRedis. More...


Protected Member Functions | |
| __construct (array $params) | |
| doGetAllReadyWikiQueues () | |
| doNotifyQueueEmpty ($wiki, $type) | |
| doNotifyQueueNonEmpty ($wiki, $type) | |
| doPurge () | |
| getConnection () | |
| Get a connection to the server that handles all sub-queues for this queue. | |
| handleException (RedisConnRef $conn, $e) | |
Protected Attributes | |
| RedisConnectionPool | $redisPool |
| * | |
| array | $servers |
| List of Redis server addresses *. | |
Private Member Functions | |
| dencQueueName ($name) | |
| encQueueName ($type, $wiki) | |
| getQueueTypesKey () | |
| getReadyQueueKey () | |
Class to handle tracking information about all queues using PhpRedis.
Definition at line 31 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::__construct | ( | array $ | params | ) | [protected] |
| array | $params | Possible keys:
|
Reimplemented from JobQueueAggregator.
Definition at line 45 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::dencQueueName | ( | $ | name | ) | [private] |
| JobQueueAggregatorRedis::doGetAllReadyWikiQueues | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 89 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::doNotifyQueueEmpty | ( | $ | wiki, |
| $ | type | ||
| ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 54 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::doNotifyQueueNonEmpty | ( | $ | wiki, |
| $ | type | ||
| ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 70 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::doPurge | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 140 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::encQueueName | ( | $ | type, |
| $ | wiki | ||
| ) | [private] |
| string | $type | |
| string | $wiki |
Definition at line 203 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::getConnection | ( | ) | [protected] |
Get a connection to the server that handles all sub-queues for this queue.
| MWException |
Definition at line 163 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::getQueueTypesKey | ( | ) | [private] |
Definition at line 194 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::getReadyQueueKey | ( | ) | [private] |
Definition at line 187 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::handleException | ( | RedisConnRef $ | conn, |
| $ | e | ||
| ) | [protected] |
| RedisConnRef | $conn | |
| RedisException | $e |
Definition at line 180 of file JobQueueAggregatorRedis.php.
RedisConnectionPool JobQueueAggregatorRedis::$redisPool [protected] |
*
Definition at line 32 of file JobQueueAggregatorRedis.php.
List of Redis server addresses *.
Definition at line 34 of file JobQueueAggregatorRedis.php.