protected function callRedisCommand(PredisProxy $redis, $name, $arguments)
    {
        $start = microtime(true);
        try {
            $return = call_user_func_array(array($redis, $name), $arguments);
            $this->notifyEvent($name, $arguments, microtime(true) - $start);
        } catch (Predis\PredisException $e) {
            throw new Exception("Error calling the method ".$name." : ".$e->getMessage());
        }

        return $return;
    }