public BackgrounderJobPersister(IExtractPersisterFactory extractFactory)
 {
     _jobPersister                    = extractFactory.CreateExtract <BackgrounderJob>("BackgrounderJobs.hyper");
     _errorPersister                  = extractFactory.CreateExtract <BackgrounderJobError>("BackgrounderJobErrors.hyper");
     _extractJobDetailsPersister      = extractFactory.CreateExtract <BackgrounderExtractJobDetail>("BackgrounderExtractJobDetails.hyper");
     _subscriptionJobDetailsPersister = extractFactory.CreateExtract <BackgrounderSubscriptionJobDetail>("BackgrounderSubscriptionJobDetails.hyper");
 }
Пример #2
0
        public DesktopSessionPersister(IPluginRequest pluginRequest, IExtractPersisterFactory extractFactory)
        {
            maxQueryLength = VizqlPluginArgumentHelper.GetMaxQueryLength(pluginRequest, MaxQueryLengthArgumentKey, MaxQueryLengthDefault);

            sessionPersister          = extractFactory.CreateExtract <VizqlDesktopSession>("VizqlDesktopSessions.hyper");
            errorPersister            = extractFactory.CreateExtract <VizqlErrorEvent>("VizqlDesktopErrorEvents.hyper");
            performanceEventPersister = extractFactory.CreateExtract <VizqlPerformanceEvent>("VizqlDesktopPerformanceEvents.hyper");
            endQueryPersister         = extractFactory.CreateExtract <VizqlEndQuery>("VizqlDesktopEndQueryEvents.hyper");
        }
 public ServerSessionPersister(IExtractPersisterFactory extractFactory)
 {
     _sessionPersister = extractFactory.CreateExtract <VizqlServerSession>("VizqlSessions.hyper");
     _errorPersister   = extractFactory.CreateExtract <VizqlErrorEvent>("VizqlErrorEvents.hyper");
 }