integer weight) * @param string|bool $group The selected query group. Default: false * @param string|bool $domain Default: false */ public function scaleLoads( array &$weightByServer, $group = false, $domain = false ); /** * Get an estimate of replication lag (in seconds) for each server * * Values may be "false" if replication is too broken to estimate * * @param integer[] $serverIndexes * @param string $domain * * @return array Map of (server index => float|int|bool) */ public function getLagTimes( array $serverIndexes, $domain ); /** * Clear any process and persistent cache of lag times * @since 1.27 */ public function clearCaches(); }