MediaWiki  REL1_22
JobQueueAggregatorMemc Class Reference

Class to handle tracking information about all queues using BagOStuff. More...

Inheritance diagram for JobQueueAggregatorMemc:
Collaboration diagram for JobQueueAggregatorMemc:

List of all members.

Protected Member Functions

 __construct (array $params)
 include:
 doGetAllReadyWikiQueues ()
 doNotifyQueueEmpty ($wiki, $type)
 doNotifyQueueNonEmpty ($wiki, $type)
 doPurge ()

Protected Attributes

BagOStuff $cache
 *
 $cacheTTL

Private Member Functions

 getReadyQueueCacheKey ()

Detailed Description

Class to handle tracking information about all queues using BagOStuff.

Since:
1.21

Definition at line 30 of file JobQueueAggregatorMemc.php.


Constructor & Destructor Documentation

JobQueueAggregatorMemc::__construct ( array params) [protected]

include:

  • objectCache : Name of an object cache registered in $wgObjectCaches. This defaults to the one specified by $wgMainCacheType.
  • cacheTTL : Seconds to cache the aggregate data before regenerating.
    Parameters:
    array$params

Reimplemented from JobQueueAggregator.

Definition at line 42 of file JobQueueAggregatorMemc.php.


Member Function Documentation

See also:
JobQueueAggregator::doAllGetReadyWikiQueues()

Reimplemented from JobQueueAggregator.

Definition at line 80 of file JobQueueAggregatorMemc.php.

JobQueueAggregatorMemc::doNotifyQueueEmpty ( wiki,
type 
) [protected]
See also:
JobQueueAggregator::doNotifyQueueEmpty()

Reimplemented from JobQueueAggregator.

Definition at line 53 of file JobQueueAggregatorMemc.php.

JobQueueAggregatorMemc::doNotifyQueueNonEmpty ( wiki,
type 
) [protected]
See also:
JobQueueAggregator::doNotifyQueueNonEmpty()

Reimplemented from JobQueueAggregator.

Definition at line 73 of file JobQueueAggregatorMemc.php.

See also:
JobQueueAggregator::doPurge()

Reimplemented from JobQueueAggregator.

Definition at line 113 of file JobQueueAggregatorMemc.php.

Returns:
string

Definition at line 120 of file JobQueueAggregatorMemc.php.


Member Data Documentation

BagOStuff JobQueueAggregatorMemc::$cache [protected]

*

Definition at line 31 of file JobQueueAggregatorMemc.php.

JobQueueAggregatorMemc::$cacheTTL [protected]

Definition at line 33 of file JobQueueAggregatorMemc.php.


The documentation for this class was generated from the following file: