MediaWiki
REL1_22
|
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 |
* | |
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 42 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::dencQueueName | ( | $ | name | ) | [private] |
JobQueueAggregatorRedis::doGetAllReadyWikiQueues | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 85 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::doNotifyQueueEmpty | ( | $ | wiki, |
$ | type | ||
) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 51 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::doNotifyQueueNonEmpty | ( | $ | wiki, |
$ | type | ||
) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 68 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::doPurge | ( | ) | [protected] |
Reimplemented from JobQueueAggregator.
Definition at line 135 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::encQueueName | ( | $ | type, |
$ | wiki | ||
) | [private] |
string | $type | |
string | $wiki |
Definition at line 180 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 155 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::getReadyQueueKey | ( | ) | [private] |
Definition at line 171 of file JobQueueAggregatorRedis.php.
JobQueueAggregatorRedis::handleException | ( | RedisConnRef $ | conn, |
$ | e | ||
) | [protected] |
RedisConnRef | $conn | |
RedisException | $e |
Definition at line 164 of file JobQueueAggregatorRedis.php.
RedisConnectionPool JobQueueAggregatorRedis::$redisPool [protected] |
*
Definition at line 32 of file JobQueueAggregatorRedis.php.