MediaWiki
1.23.5
|
Class to handle tracking information about all queues using PhpRedis. More...
Protected Member Functions | |
__construct (array $params) | |
@params include: More... | |
doGetAllReadyWikiQueues () | |
doNotifyQueueEmpty ( $wiki, $type) | |
doNotifyQueueNonEmpty ( $wiki, $type) | |
doPurge () | |
getConnection () | |
Get a connection to the server that handles all sub-queues for this queue. More... | |
handleException (RedisConnRef $conn, $e) | |
Protected Member Functions inherited from JobQueueAggregator | |
findPendingWikiQueues () | |
Get all databases that have a pending job. More... | |
Protected Attributes | |
RedisConnectionPool | $redisPool |
array | $servers |
List of Redis server addresses *. More... | |
Private Member Functions | |
dencQueueName ( $name) | |
encQueueName ( $type, $wiki) | |
getReadyQueueKey () | |
Additional Inherited Members | |
Public Member Functions inherited from JobQueueAggregator | |
getAllReadyWikiQueues () | |
Get the list of all of the queues with jobs. More... | |
notifyQueueEmpty ( $wiki, $type) | |
Mark a queue as being empty. More... | |
notifyQueueNonEmpty ( $wiki, $type) | |
Mark a queue as being non-empty. More... | |
purge () | |
Purge all of the aggregator information. More... | |
Static Public Member Functions inherited from JobQueueAggregator | |
static | destroySingleton () |
Destroy the singleton instance. More... | |
static | singleton () |
Static Protected Attributes inherited from JobQueueAggregator | |
static | $instance = null |
Class to handle tracking information about all queues using PhpRedis.
Definition at line 31 of file JobQueueAggregatorRedis.php.
|
protected |
@params include:
array | $params |
Reimplemented from JobQueueAggregator.
Definition at line 46 of file JobQueueAggregatorRedis.php.
References $params, array(), servers, and RedisConnectionPool\singleton().
|
private |
string | $name |
Definition at line 199 of file JobQueueAggregatorRedis.php.
References $name, $type, array(), and list.
Referenced by doGetAllReadyWikiQueues().
|
protected |
Reimplemented from JobQueueAggregator.
Definition at line 86 of file JobQueueAggregatorRedis.php.
References $e, $time, $type, array(), as, dencQueueName(), encQueueName(), JobQueueAggregator\findPendingWikiQueues(), getConnection(), getReadyQueueKey(), handleException(), list, and wfRandomString().
|
protected |
Reimplemented from JobQueueAggregator.
Definition at line 54 of file JobQueueAggregatorRedis.php.
References $e, $type, encQueueName(), getConnection(), getReadyQueueKey(), and handleException().
|
protected |
Reimplemented from JobQueueAggregator.
Definition at line 70 of file JobQueueAggregatorRedis.php.
References $e, $type, encQueueName(), getConnection(), getReadyQueueKey(), and handleException().
|
protected |
Reimplemented from JobQueueAggregator.
Definition at line 136 of file JobQueueAggregatorRedis.php.
References $e, getConnection(), getReadyQueueKey(), and handleException().
|
private |
string | $type | |
string | $wiki |
Definition at line 191 of file JobQueueAggregatorRedis.php.
References $type.
Referenced by doGetAllReadyWikiQueues(), doNotifyQueueEmpty(), and doNotifyQueueNonEmpty().
|
protected |
Get a connection to the server that handles all sub-queues for this queue.
MWException |
Definition at line 158 of file JobQueueAggregatorRedis.php.
Referenced by doGetAllReadyWikiQueues(), doNotifyQueueEmpty(), doNotifyQueueNonEmpty(), and doPurge().
|
private |
Definition at line 182 of file JobQueueAggregatorRedis.php.
Referenced by doGetAllReadyWikiQueues(), doNotifyQueueEmpty(), doNotifyQueueNonEmpty(), and doPurge().
|
protected |
RedisConnRef | $conn | |
RedisException | $e |
Definition at line 175 of file JobQueueAggregatorRedis.php.
References $e.
Referenced by doGetAllReadyWikiQueues(), doNotifyQueueEmpty(), doNotifyQueueNonEmpty(), and doPurge().
|
protected |
Definition at line 32 of file JobQueueAggregatorRedis.php.
|
protected |
List of Redis server addresses *.
Definition at line 34 of file JobQueueAggregatorRedis.php.