public function getConnection(Predis_Command $command) { if ($command->canBeHashed() === false) { throw new Predis_ClientException(sprintf("Cannot send '%s' commands to a cluster of connections", $command->getCommandId())); } return $this->_distributor->get($command->getHash($this->_distributor)); }