Class DefaultScheduledJobExecutor
Inheritance
System.Object
DefaultScheduledJobExecutor
Implements
System.IDisposable
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class DefaultScheduledJobExecutor : Object, IScheduledJobExecutor, IDisposable
Constructors
DefaultScheduledJobExecutor(SchedulerDB, IScheduledJobRepository, IScheduledJobLogRepository, IScheduledJobFactory, IEventRegistry, IScheduledJobEventsRaiser, FailedScheduledJobRegistry, SchedulerOptions, IRootServiceScopeFactory)
Declaration
public DefaultScheduledJobExecutor(SchedulerDB dataAccess, IScheduledJobRepository repository, IScheduledJobLogRepository logRepository, IScheduledJobFactory jobFactory, IEventRegistry eventRegistry, IScheduledJobEventsRaiser scheduledJobEvents, FailedScheduledJobRegistry failedJobRegistry, SchedulerOptions schedulerOptions, IRootServiceScopeFactory serviceProviderScopeFactory)
Parameters
Methods
AbortAllAsync()
Declaration
public virtual Task AbortAllAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Cancel(Guid)
Declaration
public virtual void Cancel(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
ListRunningJobs()
Declaration
public virtual IEnumerable ListRunningJobs()
Returns
Type |
Description |
System.Collections.IEnumerable |
|
StartAsync(ScheduledJob, JobExecutionOptions, CancellationToken)
Declaration
public virtual Task<JobExecutionResult> StartAsync(ScheduledJob job, JobExecutionOptions options, CancellationToken cancellationToken)
Parameters
Returns
Implements
System.IDisposable
Extension Methods