MediaWiki  REL1_24
LoadMonitorNull Class Reference
Inheritance diagram for LoadMonitorNull:
Collaboration diagram for LoadMonitorNull:

List of all members.

Public Member Functions

 __construct ($parent)
 Construct a new LoadMonitor with a given LoadBalancer parent.
 getLagTimes ($serverIndexes, $wiki)
 Return an estimate of replication lag for each server.
 scaleLoads (&$loads, $group=false, $wiki=false)
 Perform pre-connection load ratio adjustment.

Detailed Description

Definition at line 56 of file LoadMonitor.php.


Constructor & Destructor Documentation

Construct a new LoadMonitor with a given LoadBalancer parent.

Parameters:
LoadBalancer$parent

Implements LoadMonitor.

Definition at line 57 of file LoadMonitor.php.


Member Function Documentation

LoadMonitorNull::getLagTimes ( serverIndexes,
wiki 
)

Return an estimate of replication lag for each server.

Parameters:
array$serverIndexes
string$wiki
Returns:
array

Implements LoadMonitor.

Definition at line 63 of file LoadMonitor.php.

LoadMonitorNull::scaleLoads ( &$  loads,
group = false,
wiki = false 
)

Perform pre-connection load ratio adjustment.

Parameters:
array$loads
string | bool$groupThe selected query group. Default: false
string | bool$wikiDefault: false

Implements LoadMonitor.

Definition at line 60 of file LoadMonitor.php.


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