Move LoadMonitorMySQL to LoadMonitor
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 05:38:47 +0000 (22:38 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 23:56:39 +0000 (23:56 +0000)
commit21a9bb06b418149d02c5c01abc33fc0ad5f3dce4
tree2891c9e76052e0337d6ec162a7abf8bfcb9e1d09
parent32d2f5675fa2cf50edb224608d178dc8babdd4a2
Move LoadMonitorMySQL to LoadMonitor

* The LoadMonitor interface is now ILoadMonitor.
* Nothing in this code was MySQL specific.
  Now any DB type can benefit from a LoadMonitor.

Change-Id: I272a72cd55a70f99a866d518d44cb3bcaca91b9e
autoload.php
includes/libs/rdbms/loadbalancer/LoadBalancer.php
includes/libs/rdbms/loadmonitor/ILoadMonitor.php [new file with mode: 0644]
includes/libs/rdbms/loadmonitor/LoadMonitor.php
includes/libs/rdbms/loadmonitor/LoadMonitorMySQL.php
includes/libs/rdbms/loadmonitor/LoadMonitorNull.php