26use InvalidArgumentException;
27use BadMethodCallException;
41 parent::__construct( $conf );
43 if ( !isset( $conf[
'connection'] ) ) {
44 throw new InvalidArgumentException(
"Missing 'connection' argument." );
59 return new static( array_merge(
62 [
'connection' => $db ]
83 throw new BadMethodCallException(
"Method is not supported." );
87 throw new BadMethodCallException(
"Method is not supported." );
109 if ( isset( $this->lb ) ) {
110 $callback( $this->lb, ...
$params );
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))