MediaWiki REL1_30
|
MediaWiki-specific class for generating database load balancers. More...
Static Public Member Functions | |
static | applyDefaultConfig (array $lbConf, Config $mainConfig, ConfiguredReadOnlyMode $readOnlyMode) |
static | getLBFactoryClass (array $config) |
Returns the LBFactory class to use and the load balancer configuration. | |
MediaWiki-specific class for generating database load balancers.
Definition at line 32 of file MWLBFactory.php.
|
static |
array | $lbConf | Config for LBFactory::__construct() |
Config | $mainConfig | Main config object from MediaWikiServices |
ConfiguredReadOnlyMode | $readOnlyMode |
Definition at line 39 of file MWLBFactory.php.
References $flags, $wgCommandLineMode, DBO_COMPRESS, DBO_DEBUG, DBO_DEFAULT, DBO_SSL, ConfiguredReadOnlyMode\getReason(), and wfHostname().
|
static |
Returns the LBFactory class to use and the load balancer configuration.
array | $config | (e.g. $wgLBFactoryConf) |
Definition at line 170 of file MWLBFactory.php.
References wfDeprecated().
Referenced by LBFactoryTest\testGetLBFactoryClass().