public function llen($key) {
        try {
            $length = $this->getRedis()->lLen($key);
            if ($length === false) {
                throw new ImpossibleValueException();
            }
            return $length;
        } catch (RedisException $ex) {
            throw new ConnectException();
        }
    }