source/Redis/Connection.php
public function renamenx($source, $destination) {
        try {
            return $this->getRedis()->renamenx($source, $destination);
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function renamenx($source, $destination) {
        try {
            return $this->getRedis()->renamenx($source, $destination);
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }
public function renamenx ( $ source , $ destination ) { try { return $ this -> getRedis ( ) -> renamenx ( $ source , $ destination ) ; } catch ( RedisException $ ex ) { throw new ConnectException ( ) ; } }
Rename key if needed key name was not
@param string $source current key name
@param string $destination needed key name
@return bool operation result. If false, source key not found or needed key name found
@throws ConnectException exception on connection to redis instance
Rename key if needed key name was not