Class BackgroundJobStore
Inheritance
System.Object
BackgroundJobStore
Implements
ITransientDependency
Assembly: Volo.Abp.BackgroundJobs.Domain.dll
Syntax
public class BackgroundJobStore : object, IBackgroundJobStore, ITransientDependency
Constructors
BackgroundJobStore(IBackgroundJobRepository, IObjectMapper<AbpBackgroundJobsDomainModule>)
Declaration
public BackgroundJobStore(IBackgroundJobRepository backgroundJobRepository, IObjectMapper<AbpBackgroundJobsDomainModule> objectMapper)
Parameters
Properties
BackgroundJobRepository
Declaration
protected IBackgroundJobRepository BackgroundJobRepository { get; }
Property Value
ObjectMapper
Declaration
protected IObjectMapper<AbpBackgroundJobsDomainModule> ObjectMapper { get; }
Property Value
Methods
DeleteAsync(Guid)
Declaration
public virtual Task DeleteAsync(Guid jobId)
Parameters
Type |
Name |
Description |
Guid |
jobId |
|
Returns
FindAsync(Guid)
Declaration
public virtual Task<BackgroundJobInfo> FindAsync(Guid jobId)
Parameters
Type |
Name |
Description |
Guid |
jobId |
|
Returns
GetWaitingJobsAsync(Int32)
Declaration
public virtual Task<List<BackgroundJobInfo>> GetWaitingJobsAsync(int maxResultCount)
Parameters
Type |
Name |
Description |
System.Int32 |
maxResultCount |
|
Returns
InsertAsync(BackgroundJobInfo)
Declaration
public virtual Task InsertAsync(BackgroundJobInfo jobInfo)
Parameters
Returns
UpdateAsync(BackgroundJobInfo)
Declaration
public virtual Task UpdateAsync(BackgroundJobInfo jobInfo)
Parameters
Returns
Implements
ITransientDependency
Extension Methods