|
MediaWiki
REL1_23
|
An LBFactory class that always returns a single database object. More...


Public Member Functions | |
| __construct ($conf) | |
| forEachLB ($callback, $params=array()) | |
| & | getExternalLB ($cluster, $wiki=false) |
| getMainLB ($wiki=false) | |
| newExternalLB ($cluster, $wiki=false) | |
| newMainLB ($wiki=false) | |
Protected Attributes | |
| LoadBalancerSingle | $lb |
| * | |
An LBFactory class that always returns a single database object.
Definition at line 27 of file LBFactorySingle.php.
| LBFactorySingle::__construct | ( | $ | conf | ) |
| array | $conf | An associative array with one member:
|
Reimplemented from LBFactory.
Definition at line 34 of file LBFactorySingle.php.
| LBFactorySingle::forEachLB | ( | $ | callback, |
| $ | params = array() |
||
| ) |
| string | array | $callback | |
| array | $params |
Reimplemented from LBFactory.
Definition at line 76 of file LBFactorySingle.php.
| & LBFactorySingle::getExternalLB | ( | $ | cluster, |
| $ | wiki = false |
||
| ) |
| string | $cluster | external storage cluster, or false for core |
| bool | string | $wiki | Wiki ID, or false for the current wiki |
Reimplemented from LBFactory.
Definition at line 68 of file LBFactorySingle.php.
| LBFactorySingle::getMainLB | ( | $ | wiki = false | ) |
| bool | string | $wiki |
Reimplemented from LBFactory.
Definition at line 50 of file LBFactorySingle.php.
| LBFactorySingle::newExternalLB | ( | $ | cluster, |
| $ | wiki = false |
||
| ) |
| string | $cluster | External storage cluster, or false for core |
| bool | string | $wiki | Wiki ID, or false for the current wiki |
Reimplemented from LBFactory.
Definition at line 59 of file LBFactorySingle.php.
| LBFactorySingle::newMainLB | ( | $ | wiki = false | ) |
| bool | string | $wiki |
Reimplemented from LBFactory.
Definition at line 42 of file LBFactorySingle.php.
LoadBalancerSingle LBFactorySingle::$lb [protected] |
*
Definition at line 28 of file LBFactorySingle.php.