|
MediaWiki
1.23.0
|


Public Member Functions | |
| __construct ( $parent) | |
| Construct a new LoadMonitor with a given LoadBalancer parent. More... | |
| getLagTimes ( $serverIndexes, $wiki) | |
| Return an estimate of replication lag for each server. More... | |
| scaleLoads (&$loads, $group=false, $wiki=false) | |
| Perform pre-connection load ratio adjustment. More... | |
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.
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.