dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCFilters: Fix highlight circle misalignment"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
loadmonitor
/
ILoadMonitor.php
diff --git
a/includes/libs/rdbms/loadmonitor/ILoadMonitor.php
b/includes/libs/rdbms/loadmonitor/ILoadMonitor.php
index
4f6701f
..
a0877a4
100644
(file)
--- a/
includes/libs/rdbms/loadmonitor/ILoadMonitor.php
+++ b/
includes/libs/rdbms/loadmonitor/ILoadMonitor.php
@@
-25,6
+25,7
@@
namespace Wikimedia\Rdbms;
use Psr\Log\LoggerAwareInterface;
use BagOStuff;
use Psr\Log\LoggerAwareInterface;
use BagOStuff;
+use WANObjectCache;
/**
* An interface for database load monitoring
/**
* An interface for database load monitoring
@@
-37,11
+38,11
@@
interface ILoadMonitor extends LoggerAwareInterface {
*
* @param ILoadBalancer $lb LoadBalancer this instance serves
* @param BagOStuff $sCache Local server memory cache
*
* @param ILoadBalancer $lb LoadBalancer this instance serves
* @param BagOStuff $sCache Local server memory cache
- * @param
BagOStuff $c
Cache Local cluster memory cache
+ * @param
WANObjectCache $w
Cache Local cluster memory cache
* @param array $options Options map
*/
public function __construct(
* @param array $options Options map
*/
public function __construct(
- ILoadBalancer $lb, BagOStuff $sCache,
BagOStuff $c
Cache, array $options = []
+ ILoadBalancer $lb, BagOStuff $sCache,
WANObjectCache $w
Cache, array $options = []
);
/**
);
/**
@@
-57,7
+58,7
@@
interface ILoadMonitor extends LoggerAwareInterface {
*
* Values may be "false" if replication is too broken to estimate
*
*
* Values may be "false" if replication is too broken to estimate
*
- * @param int
eger
[] $serverIndexes
+ * @param int[] $serverIndexes
* @param string $domain
* @return array Map of (server index => float|int|bool)
*/
* @param string $domain
* @return array Map of (server index => float|int|bool)
*/