MediaWiki
REL1_23
|
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. |
Definition at line 56 of file LoadMonitor.php.
LoadMonitorNull::__construct | ( | $ | parent | ) |
Construct a new LoadMonitor with a given LoadBalancer parent.
LoadBalancer | $parent |
Implements LoadMonitor.
Definition at line 57 of file LoadMonitor.php.
LoadMonitorNull::getLagTimes | ( | $ | serverIndexes, |
$ | wiki | ||
) |
Return an estimate of replication lag for each server.
array | $serverIndexes | |
string | $wiki |
Implements LoadMonitor.
Definition at line 63 of file LoadMonitor.php.
LoadMonitorNull::scaleLoads | ( | &$ | loads, |
$ | group = false , |
||
$ | wiki = false |
||
) |
Perform pre-connection load ratio adjustment.
array | $loads | |
string | bool | $group | The selected query group. Default: false |
string | bool | $wiki | Default: false |
Implements LoadMonitor.
Definition at line 60 of file LoadMonitor.php.