MediaWiki master
MediaWiki\JobQueue\JobQueueGroupFactory Class Reference

Factory for JobQueueGroup objects. More...

Public Member Functions

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

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Detailed Description

Factory for JobQueueGroup objects.

Since
1.37

Definition at line 39 of file JobQueueGroupFactory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 75 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 97 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 43 of file JobQueueGroupFactory.php.


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