MediaWiki
REL1_21
|
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) | |
getConnection () | |
Get a connection to the server that handles all sub-queues for this queue. | |
handleException (RedisConnRef $conn, $e) | |
Protected Attributes | |
RedisConnectionPool | $redisPool |
* | |
Private Member Functions | |
dencQueueName ($name) | |
encQueueName ($type, $wiki) | |
getReadyQueueKey () |
Class to handle tracking information about all queues using PhpRedis.
Definition at line 30 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::__construct | ( | array $ | params | ) | [protected] |
include:
array | $params |
Reimplemented from JobQueueAggregator.
Definition at line 41 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::dencQueueName | ( | $ | name | ) | [private] |
JobQueueAggregatorRedis::doGetAllReadyWikiQueues | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 84 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::doNotifyQueueEmpty | ( | $ | wiki, |
$ | type | ||
) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 50 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::doNotifyQueueNonEmpty | ( | $ | wiki, |
$ | type | ||
) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 67 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::encQueueName | ( | $ | type, |
$ | wiki | ||
) | [private] |
string | $type | |
string | $wiki |
Definition at line 152 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 127 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::getReadyQueueKey | ( | ) | [private] |
Definition at line 143 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::handleException | ( | RedisConnRef $ | conn, |
$ | e | ||
) | [protected] |
RedisConnRef | $conn | |
RedisException | $e |
Definition at line 136 of file JobQueueAggregatorRedis.php.
RedisConnectionPool JobQueueAggregatorRedis::$redisPool [protected] |
*
Definition at line 31 of file JobQueueAggregatorRedis.php.