MediaWiki
1.28.0
|
MediaWiki-specific class for generating database load balancers. More...
Static Public Member Functions | |
static | applyDefaultConfig (array $lbConf, Config $mainConfig) |
static | getLBFactoryClass (array $config) |
Returns the LBFactory class to use and the load balancer configuration. More... | |
MediaWiki-specific class for generating database load balancers.
Definition at line 31 of file MWLBFactory.php.
array | $lbConf | Config for LBFactory::__construct() |
Config | $mainConfig | Main config object from MediaWikiServices |
Definition at line 37 of file MWLBFactory.php.
References $flags, $wgCommandLineMode, as, class, DBO_COMPRESS, DBO_DEBUG, DBO_DEFAULT, DBO_SSL, Config\get(), ObjectCache\getLocalClusterInstance(), global, Profiler\instance(), wfConfiguredReadOnlyReason(), and wfHostname().
|
static |
Returns the LBFactory class to use and the load balancer configuration.
array | $config | (e.g. $wgLBFactoryConf) |
Definition at line 149 of file MWLBFactory.php.
References wfDeprecated().
Referenced by LBFactoryTest\testGetLBFactoryClass().