Class QuartzBackgroundJobManager
Inheritance
QuartzBackgroundJobManager
Assembly: Volo.Abp.BackgroundJobs.Quartz.dll
Syntax
[Dependency(ReplaceServices = true)]
public class QuartzBackgroundJobManager : IBackgroundJobManager, ITransientDependency
Constructors
QuartzBackgroundJobManager(IScheduler, IOptions<AbpBackgroundJobQuartzOptions>, IJsonSerializer)
Declaration
public QuartzBackgroundJobManager(IScheduler scheduler, IOptions<AbpBackgroundJobQuartzOptions> options, IJsonSerializer jsonSerializer)
Parameters
Fields
JobDataPrefix
Declaration
public const string JobDataPrefix = "Abp"
Field Value
RetryIndex
Declaration
public const string RetryIndex = "RetryIndex"
Field Value
Properties
JsonSerializer
Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
Options
Declaration
protected AbpBackgroundJobQuartzOptions Options { get; }
Property Value
Scheduler
Declaration
protected IScheduler Scheduler { get; }
Property Value
Type |
Description |
IScheduler |
|
Methods
EnqueueAsync<TArgs>(TArgs, BackgroundJobPriority, TimeSpan?)
Declaration
public virtual Task<string> EnqueueAsync<TArgs>(TArgs args, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Returns
Type Parameters
ReEnqueueAsync<TArgs>(TArgs, int, int, BackgroundJobPriority, TimeSpan?)
Declaration
public virtual Task<string> ReEnqueueAsync<TArgs>(TArgs args, int retryCount, int retryIntervalMillisecond, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Returns
Type Parameters
Implements
Extension Methods