MediaWiki
master
|
Public Member Functions | |
__construct ($parent) | |
Construct a new LoadMonitor with a given LoadBalancer parent. More... | |
clearCaches () | |
Clear any process and persistent cache of lag times. More... | |
getLagTimes ($serverIndexes, $wiki) | |
Get an estimate of replication lag (in seconds) for each server. More... | |
scaleLoads (&$loads, $group=false, $wiki=false) | |
Perform pre-connection load ratio adjustment. More... | |
Definition at line 64 of file LoadMonitor.php.
LoadMonitorNull::__construct | ( | $parent | ) |
Construct a new LoadMonitor with a given LoadBalancer parent.
LoadBalancer | $parent |
Implements LoadMonitor.
Definition at line 65 of file LoadMonitor.php.
LoadMonitorNull::clearCaches | ( | ) |
Clear any process and persistent cache of lag times.
Implements LoadMonitor.
Definition at line 75 of file LoadMonitor.php.
LoadMonitorNull::getLagTimes | ( | $serverIndexes, | |
$wiki | |||
) |
Get an estimate of replication lag (in seconds) for each server.
Values may be "false" if replication is too broken to estimate
array | $serverIndexes | |
string | $wiki |
Implements LoadMonitor.
Definition at line 71 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 68 of file LoadMonitor.php.