library/Rediska/KeyDistributor/ConsistentHashing.php
public function getConnectionByKeyName($name)
    {
        $connections = $this->getConnectionsByKeyName($name, 1);
        if (empty($connections)) {
            throw new Rediska_KeyDistributor_Exception('No connections exist');
        }
        return $connections[0];
    }
public function getConnectionByKeyName($name)
    {
        $connections = $this->getConnectionsByKeyName($name, 1);
        if (empty($connections)) {
            throw new Rediska_KeyDistributor_Exception('No connections exist');
        }
        return $connections[0];
    }
(non-PHPdoc)
@see Rediska_KeyDistributor_Interface#getConnectionByKeyName