Show / Hide Table of Contents

Class QuartzJobExecutionAdapter<TArgs>

Inheritance
System.Object
QuartzJobExecutionAdapter<TArgs>
Namespace: Volo.Abp.BackgroundJobs.Quartz
Assembly: Volo.Abp.BackgroundJobs.Quartz.dll
Syntax
public class QuartzJobExecutionAdapter<TArgs> : IJob
Type Parameters
Name Description
TArgs

Constructors

QuartzJobExecutionAdapter(IOptions<AbpBackgroundJobOptions>, IOptions<AbpBackgroundJobQuartzOptions>, IBackgroundJobExecuter, IServiceScopeFactory)

Declaration
public QuartzJobExecutionAdapter(IOptions<AbpBackgroundJobOptions> options, IOptions<AbpBackgroundJobQuartzOptions> backgroundJobQuartzOptions, IBackgroundJobExecuter jobExecuter, IServiceScopeFactory serviceScopeFactory)
Parameters
Type Name Description
IOptions<AbpBackgroundJobOptions> options
IOptions<AbpBackgroundJobQuartzOptions> backgroundJobQuartzOptions
IBackgroundJobExecuter jobExecuter
IServiceScopeFactory serviceScopeFactory

Properties

BackgroundJobQuartzOptions

Declaration
protected AbpBackgroundJobQuartzOptions BackgroundJobQuartzOptions { get; }
Property Value
Type Description
AbpBackgroundJobQuartzOptions

JobExecuter

Declaration
protected IBackgroundJobExecuter JobExecuter { get; }
Property Value
Type Description
IBackgroundJobExecuter

Logger

Declaration
public ILogger<QuartzJobExecutionAdapter<TArgs>> Logger { get; set; }
Property Value
Type Description
ILogger<QuartzJobExecutionAdapter<TArgs>>

Options

Declaration
protected AbpBackgroundJobOptions Options { get; }
Property Value
Type Description
AbpBackgroundJobOptions

ServiceScopeFactory

Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Type Description
IServiceScopeFactory

Methods

Execute(IJobExecutionContext)

Declaration
public Task Execute(IJobExecutionContext context)
Parameters
Type Name Description
IJobExecutionContext context
Returns
Type Description
Task

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft