Class DefaultBackgroundJobManager
Inheritance
DefaultBackgroundJobManager
Assembly: Volo.Abp.BackgroundJobs.dll
Syntax
[Dependency(ReplaceServices = true)]
public class DefaultBackgroundJobManager : IBackgroundJobManager, ITransientDependency
Constructors
DefaultBackgroundJobManager(IClock, IBackgroundJobSerializer, IBackgroundJobStore, IGuidGenerator)
Declaration
public DefaultBackgroundJobManager(IClock clock, IBackgroundJobSerializer serializer, IBackgroundJobStore store, IGuidGenerator guidGenerator)
Parameters
Properties
Clock
Declaration
protected IClock Clock { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Serializer
Declaration
protected IBackgroundJobSerializer Serializer { get; }
Property Value
Store
Declaration
protected IBackgroundJobStore Store { get; }
Property Value
Methods
EnqueueAsync(string, object, BackgroundJobPriority, TimeSpan?)
Declaration
protected virtual Task<Guid> EnqueueAsync(string jobName, object args, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Returns
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
Implements
Extension Methods