|
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, StatsFactory $statsFactory, array $virtualDomains, TracerInterface $tracer, ?string $uniqueIdentifier=null) | |
| 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 49 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::__construct | ( | ServiceOptions | $options, |
| ConfiguredReadOnlyMode | $readOnlyMode, | ||
| ChronologyProtector | $chronologyProtector, | ||
| BagOStuff | $srvCache, | ||
| WANObjectCache | $wanCache, | ||
| CriticalSectionProvider | $csProvider, | ||
| StatsFactory | $statsFactory, | ||
| array | $virtualDomains, | ||
| TracerInterface | $tracer, | ||
| ?string | $uniqueIdentifier = null ) |
| ServiceOptions | $options | |
| ConfiguredReadOnlyMode | $readOnlyMode | |
| ChronologyProtector | $chronologyProtector | |
| BagOStuff | $srvCache | |
| WANObjectCache | $wanCache | |
| CriticalSectionProvider | $csProvider | |
| StatsFactory | $statsFactory | |
| string[] | $virtualDomains | |
| TracerInterface | $tracer | |
| ?string | $uniqueIdentifier |
Definition at line 115 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::applyDefaultConfig | ( | array | $lbConf | ) |
| array | $lbConf | Config for LBFactory::__construct() |
Definition at line 144 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::getLBFactoryClass | ( | array | $config | ) |
Decide which LBFactory class to use.
| array | $config | (e.g. $wgLBFactoryConf) |
Definition at line 380 of file MWLBFactory.php.
|
static |
Log a database deprecation warning.
| string | $msg | Deprecation message |
Definition at line 412 of file MWLBFactory.php.
| MediaWiki\DB\MWLBFactory::setDomainAliases | ( | ILBFactory | $lbFactory | ) |
Definition at line 396 of file MWLBFactory.php.
| const MediaWiki\DB\MWLBFactory::APPLY_DEFAULT_CONFIG_OPTIONS |
Definition at line 70 of file MWLBFactory.php.
| const MediaWiki\DB\MWLBFactory::CORE_VIRTUAL_DOMAINS |
Definition at line 54 of file MWLBFactory.php.