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


Protected Member Functions | |
| __construct (array $params) | |
| include: | |
| 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) | |
| getReadyQueueKey () | |
Class to handle tracking information about all queues using PhpRedis.
Definition at line 31 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::__construct | ( | array $ | params | ) | [protected] |
include:
| array | $params |
Reimplemented from JobQueueAggregator.
Definition at line 46 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::dencQueueName | ( | $ | name | ) | [private] |
| JobQueueAggregatorRedis::doGetAllReadyWikiQueues | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 86 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 136 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::encQueueName | ( | $ | type, |
| $ | wiki | ||
| ) | [private] |
| string | $type | |
| string | $wiki |
Definition at line 191 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 158 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::getReadyQueueKey | ( | ) | [private] |
Definition at line 182 of file JobQueueAggregatorRedis.php.
| JobQueueAggregatorRedis::handleException | ( | RedisConnRef $ | conn, |
| $ | e | ||
| ) | [protected] |
| RedisConnRef | $conn | |
| RedisException | $e |
Definition at line 175 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.