This fixes IDEA errors in LoadBalancer::clearLagTimeCache
Change-Id: Ibd863ef6bc670a29f65821e3f3cd9d721a652b9a
* @return array Map of (server index => seconds)
*/
public function getLagTimes( $serverIndexes, $wiki );
+
+ /**
+ * Clear any process and persistent cache of lag times
+ * @since 1.26
+ */
+ public function clearCaches();
}
class LoadMonitorNull implements LoadMonitor {
public function getLagTimes( $serverIndexes, $wiki ) {
return array_fill_keys( $serverIndexes, 0 );
}
+
+ public function clearCaches() {
+
+ }
}