Class DefaultBackgroundJobManager
Inheritance
object
DefaultBackgroundJobManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Guid> |
|
EnqueueAsync<TArgs>(TArgs, BackgroundJobPriority, TimeSpan?)
Declaration
public virtual Task<string> EnqueueAsync<TArgs>(TArgs args, BackgroundJobPriority priority = BackgroundJobPriority.Normal, TimeSpan? delay = null)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><string> |
|
Type Parameters
Implements
Extension Methods