Exemple #1
0
 public OneTimeJobScheduler(
     InstanceContext tenantContext,
     JobMonitoringService monitoringService,
     ExecutionLogService executionLogService)
 {
     _tenantContext       = tenantContext;
     _monitoringService   = monitoringService;
     _executionLogService = executionLogService;
 }
Exemple #2
0
 public JobRunner(
     ProcessDirector processDirector,
     InstanceContext instanceContext,
     JobMonitoringService jobMonitoringService,
     ExecutionLogService executionLogService,
     OneTimeJobScheduler oneTimeJobScheduler,
     IPushLogger logger)
 {
     _processDirector      = processDirector;
     _instanceContext      = instanceContext;
     _jobMonitoringService = jobMonitoringService;
     _executionLogService  = executionLogService;
     _oneTimeJobScheduler  = oneTimeJobScheduler;
     _logger = logger;
 }