MediaWiki master
|
MediaWiki-specific class for generating database load balancers. More...
Public Member Functions | |
__construct (ServiceOptions $options, ConfiguredReadOnlyMode $readOnlyMode, ChronologyProtector $chronologyProtector, BagOStuff $srvCache, WANObjectCache $wanCache, CriticalSectionProvider $csProvider, StatsdDataFactoryInterface $statsdDataFactory, array $virtualDomains, TracerInterface $tracer) | |
applyDefaultConfig (array $lbConf) | |
getLBFactoryClass (array $config) | |
Decide which LBFactory class to use. | |
setDomainAliases (ILBFactory $lbFactory) | |
Static Public Member Functions | |
static | logDeprecation (string $msg) |
Log a database deprecation warning. | |
Public Attributes | |
const | APPLY_DEFAULT_CONFIG_OPTIONS |
const | CORE_VIRTUAL_DOMAINS |
MediaWiki-specific class for generating database load balancers.
Definition at line 44 of file MWLBFactory.php.
MWLBFactory::__construct | ( | ServiceOptions | $options, |
ConfiguredReadOnlyMode | $readOnlyMode, | ||
ChronologyProtector | $chronologyProtector, | ||
BagOStuff | $srvCache, | ||
WANObjectCache | $wanCache, | ||
CriticalSectionProvider | $csProvider, | ||
StatsdDataFactoryInterface | $statsdDataFactory, | ||
array | $virtualDomains, | ||
TracerInterface | $tracer ) |
ServiceOptions | $options | |
ConfiguredReadOnlyMode | $readOnlyMode | |
ChronologyProtector | $chronologyProtector | |
BagOStuff | $srvCache | |
WANObjectCache | $wanCache | |
CriticalSectionProvider | $csProvider | |
StatsdDataFactoryInterface | $statsdDataFactory | |
string[] | $virtualDomains | |
TracerInterface | $tracer |
Definition at line 102 of file MWLBFactory.php.
MWLBFactory::applyDefaultConfig | ( | array | $lbConf | ) |
array | $lbConf | Config for LBFactory::__construct() |
Definition at line 129 of file MWLBFactory.php.
References APPLY_DEFAULT_CONFIG_OPTIONS.
MWLBFactory::getLBFactoryClass | ( | array | $config | ) |
Decide which LBFactory class to use.
array | $config | (e.g. $wgLBFactoryConf) |
Definition at line 364 of file MWLBFactory.php.
|
static |
Log a database deprecation warning.
string | $msg | Deprecation message |
Definition at line 396 of file MWLBFactory.php.
MWLBFactory::setDomainAliases | ( | ILBFactory | $lbFactory | ) |
Definition at line 380 of file MWLBFactory.php.
const MWLBFactory::APPLY_DEFAULT_CONFIG_OPTIONS |
Definition at line 58 of file MWLBFactory.php.
Referenced by applyDefaultConfig().
const MWLBFactory::CORE_VIRTUAL_DOMAINS |
Definition at line 49 of file MWLBFactory.php.