public ForkedJobExecutor(IJobRunContextFactory jobRunContextFactory, IJobRunInformationService jobRunInformationService, IJobRunProgressChannel progressChannel, IPeriodicTimer periodicTimer, IDateTimeProvider dateTimeProvider, ForkedExecutionConfiguration configuration) { this.jobRunContextFactory = jobRunContextFactory; this.jobRunInformationService = jobRunInformationService; this.configuration = configuration; this.progressChannel = progressChannel; this.periodicTimer = periodicTimer; this.dateTimeProvider = dateTimeProvider; this.periodicTimer.Setup(this.StartReadyJobsFromQueue, StartNewJobsEverySeconds); }
public ExposeAllServicesComponent(IJobbrServiceProvider serviceProvider, IArtefactsStorageProvider artefactsStorageProvider, IJobStorageProvider jobStorageProvider, IJobManagementService jobManagementService, IQueryService queryService, IServerManagementService managementService, IJobRunInformationService informationService, IJobRunProgressChannel progressChannel) { this.ServiceProvider = serviceProvider; this.ArtefactsStorageProvider = artefactsStorageProvider; this.JobStorageProvider = jobStorageProvider; this.JobManagementService = jobManagementService; this.QueryService = queryService; this.ManagementService = managementService; this.InformationService = informationService; this.ProgressChannel = progressChannel; instancesPerThread.Value = this; }
public ForkedExecutionController(IJobRunInformationService jobRunInformationService, IJobRunProgressChannel progressChannel) { this.jobRunInformationService = jobRunInformationService; this.progressChannel = progressChannel; }