|
MediaWiki master
|
MediaWiki-specific class for generating database load balancers. More...
Public Member Functions | |
| __construct (ConfiguredReadOnlyMode $readOnlyMode, ChronologyProtector $chronologyProtector, BagOStuff $srvCache, WANObjectCache $wanCache, CriticalSectionProvider $csProvider, StatsFactory $statsFactory, TracerInterface $tracer, ?string $uniqueIdentifier=null) | |
| applyServices (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. | |
MediaWiki-specific class for generating database load balancers.
Definition at line 38 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::__construct | ( | ConfiguredReadOnlyMode | $readOnlyMode, |
| ChronologyProtector | $chronologyProtector, | ||
| BagOStuff | $srvCache, | ||
| WANObjectCache | $wanCache, | ||
| CriticalSectionProvider | $csProvider, | ||
| StatsFactory | $statsFactory, | ||
| TracerInterface | $tracer, | ||
| ?string | $uniqueIdentifier = null ) |
| ConfiguredReadOnlyMode | $readOnlyMode | |
| ChronologyProtector | $chronologyProtector | |
| BagOStuff | $srvCache | |
| WANObjectCache | $wanCache | |
| CriticalSectionProvider | $csProvider | |
| StatsFactory | $statsFactory | |
| TracerInterface | $tracer | |
| ?string | $uniqueIdentifier |
Definition at line 63 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::applyServices | ( | array | $lbConf | ) |
| array | $lbConf | Config for LBFactory::__construct() |
Definition at line 88 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::getLBFactoryClass | ( | array | $config | ) |
Decide which LBFactory class to use.
| array | $config | (e.g. $wgLBFactoryConf) |
Definition at line 124 of file MWLBFactory.php.
|
static |
Log a database deprecation warning.
| string | $msg | Deprecation message |
Definition at line 156 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::setDomainAliases | ( | ILBFactory | $lbFactory | ) |
Definition at line 140 of file MWLBFactory.php.