MediaWiki  REL1_19
LBFactory_Single Class Reference

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

Inheritance diagram for LBFactory_Single:
Collaboration diagram for LBFactory_Single:

List of all members.

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

 $lb

Detailed Description

An LBFactory class that always returns a single database object.

Definition at line 6 of file LBFactory_Single.php.


Constructor & Destructor Documentation

Parameters:
$confarray An associative array with one member:

Reimplemented from LBFactory.

Definition at line 13 of file LBFactory_Single.php.


Member Function Documentation

LBFactory_Single::forEachLB ( callback,
params = array() 
)
Parameters:
$callbackstring|array
$paramsarray

Reimplemented from LBFactory.

Definition at line 59 of file LBFactory_Single.php.

& LBFactory_Single::getExternalLB ( cluster,
wiki = false 
)
Parameters:
$cluster
$wikibool|string
Returns:
LoadBalancer_Single

Reimplemented from LBFactory.

Definition at line 51 of file LBFactory_Single.php.

Parameters:
$wikibool|string
Returns:
LoadBalancer_Single

Reimplemented from LBFactory.

Definition at line 31 of file LBFactory_Single.php.

LBFactory_Single::newExternalLB ( cluster,
wiki = false 
)
Parameters:
$cluster
$wikibool|string
Returns:
LoadBalancer_Single

Reimplemented from LBFactory.

Definition at line 41 of file LBFactory_Single.php.

Parameters:
$wikibool|string
Returns:
LoadBalancer_Single

Reimplemented from LBFactory.

Definition at line 22 of file LBFactory_Single.php.


Member Data Documentation

LBFactory_Single::$lb [protected]

Definition at line 7 of file LBFactory_Single.php.


The documentation for this class was generated from the following file: