public function createMasterClient($name)
{
$master = $this->getMasterAddressByName($name);
if (!isset($master[0]) || !isset($master[1])) {
throw new CredisException('Master not found');
}
return new Credis_Client($master[0], $master[1], $this->_timeout, $this->_persistent, $this->_db, $this->_password);
}