Use LB server configuration to force DB domains in ExternalStorageDB
[lhc/web/wiklou.git] / includes / libs / rdbms / loadbalancer / ILoadBalancer.php
index fec496e..d6b7e3b 100644 (file)
@@ -335,6 +335,14 @@ interface ILoadBalancer {
         */
        public function getServerType( $i );
 
+       /**
+        * Return the server info structure for a given index, or false if the index is invalid.
+        * @param int $i
+        * @return array|bool
+        * @since 1.31
+        */
+       public function getServerInfo( $i );
+
        /**
         * @param int $i Server index
         * @return array (Database::ATTRIBUTE_* constant => value) for all such constants