48 $this->client->set_servers(
$params[
'servers'] );
49 $this->client->set_debug(
$params[
'debug'] );
56 $this->client->set_debug(
$debug );
64 $callback =
array( $this,
'encodeKey' );
65 return $this->client->get_multi( array_map( $callback,
$keys ) );
73 public function lock( $key, $timeout = 0 ) {
74 return $this->client->lock( $this->
encodeKey( $key ), $timeout );
82 return $this->client->unlock( $this->
encodeKey( $key ) );