* - perfLogger: PSR-3 logger instance. [optional]
* - errorLogger: Callback that takes an Exception and logs it. [optional]
* - deprecationLogger: Callback to log a deprecation warning. [optional]
+ * - secret: Secret string to use for HMAC hashing [optional]
* @throws InvalidArgumentException
*/
public function __construct( array $conf );
/**
* Get cached (tracked) load balancers for all main database clusters
*
- * @return LoadBalancer[] Map of (cluster name => LoadBalancer)
+ * @return ILoadBalancer[] Map of (cluster name => ILoadBalancer)
* @since 1.29
*/
public function getAllMainLBs();
/**
* Get cached (tracked) load balancers for all external database clusters
*
- * @return LoadBalancer[] Map of (cluster name => LoadBalancer)
+ * @return ILoadBalancer[] Map of (cluster name => ILoadBalancer)
* @since 1.29
*/
public function getAllExternalLBs();
/**
* Commit all replica DB transactions so as to flush any REPEATABLE-READ or SSI snapshot
*
+ * This is useful for getting rid of stale data from an implicit transaction round
+ *
* @param string $fname Caller name
*/
public function flushReplicaSnapshots( $fname = __METHOD__ );