MediaWiki REL1_39
MediaWiki\JobQueue\JobQueueGroupFactory Class Reference

Class to construct JobQueueGroups. More...

Public Member Functions

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

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Detailed Description

Class to construct JobQueueGroups.

Since
1.37

Definition at line 38 of file JobQueueGroupFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\JobQueue\JobQueueGroupFactory::__construct ( ServiceOptions $options,
ConfiguredReadOnlyMode $readOnlyMode,
IBufferingStatsdDataFactory $statsdDataFactory,
WANObjectCache $wanCache,
GlobalIdGenerator $globalIdGenerator )
Parameters
ServiceOptions$options
ConfiguredReadOnlyMode$readOnlyMode
IBufferingStatsdDataFactory$statsdDataFactory
WANObjectCache$wanCache
GlobalIdGenerator$globalIdGenerator

Definition at line 74 of file JobQueueGroupFactory.php.

References MediaWiki\Config\ServiceOptions\assertRequiredOptions().

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 96 of file JobQueueGroupFactory.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\JobQueue\JobQueueGroupFactory::CONSTRUCTOR_OPTIONS
Initial value:
= [
]
const JobTypeConf
Name constant for the JobTypeConf setting, for use with Config::get()
const LocalDatabases
Name constant for the LocalDatabases setting, for use with Config::get()
const JobClasses
Name constant for the JobClasses setting, for use with Config::get()
const JobTypesExcludedFromDefaultQueue
Name constant for the JobTypesExcludedFromDefaultQueue setting, for use with Config::get()
Access: internal
For use by ServiceWiring

Definition at line 42 of file JobQueueGroupFactory.php.


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