MediaWiki REL1_37
MediaWiki\JobQueue\JobQueueGroupFactory Class Reference

Class to construct JobQueueGroups. More...

Collaboration diagram for MediaWiki\JobQueue\JobQueueGroupFactory:

Public Member Functions

 __construct (ServiceOptions $options, ConfiguredReadOnlyMode $readOnlyMode, IBufferingStatsdDataFactory $statsdDataFactory, WANObjectCache $wanCache, GlobalIdGenerator $globalIdGenerator)
 
 makeJobQueueGroup ( $domain=false)
 

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Private Attributes

GlobalIdGenerator $globalIdGenerator
 
JobQueueGroup[] $instances
 
ServiceOptions $options
 
ConfiguredReadOnlyMode $readOnlyMode
 
IBufferingStatsdDataFactory $statsdDataFactory
 
WANObjectCache $wanCache
 

Detailed Description

Class to construct JobQueueGroups.

Since
1.37

Definition at line 37 of file JobQueueGroupFactory.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ makeJobQueueGroup()

MediaWiki\JobQueue\JobQueueGroupFactory::makeJobQueueGroup (   $domain = false)
Since
1.37
Parameters
false | string$domainWiki domain ID. False uses the current wiki domain ID
Returns
JobQueueGroup

Definition at line 95 of file JobQueueGroupFactory.php.

Member Data Documentation

◆ $globalIdGenerator

GlobalIdGenerator MediaWiki\JobQueue\JobQueueGroupFactory::$globalIdGenerator
private

◆ $instances

JobQueueGroup [] MediaWiki\JobQueue\JobQueueGroupFactory::$instances
private

Definition at line 49 of file JobQueueGroupFactory.php.

◆ $options

ServiceOptions MediaWiki\JobQueue\JobQueueGroupFactory::$options
private

◆ $readOnlyMode

ConfiguredReadOnlyMode MediaWiki\JobQueue\JobQueueGroupFactory::$readOnlyMode
private

◆ $statsdDataFactory

IBufferingStatsdDataFactory MediaWiki\JobQueue\JobQueueGroupFactory::$statsdDataFactory
private

◆ $wanCache

WANObjectCache MediaWiki\JobQueue\JobQueueGroupFactory::$wanCache
private

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\JobQueue\JobQueueGroupFactory::CONSTRUCTOR_OPTIONS
Initial value:
= [
'JobClasses',
'JobTypeConf',
'JobTypesExcludedFromDefaultQueue',
'LocalDatabases',
]
Access: internal
For use by ServiceWiring

Definition at line 41 of file JobQueueGroupFactory.php.


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