Show / Hide Table of Contents

Class BackgroundJobStore

Inheritance
object
BackgroundJobStore
Implements
IBackgroundJobStore
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundJobs
Assembly: Volo.Abp.BackgroundJobs.Domain.dll
Syntax
public class BackgroundJobStore : IBackgroundJobStore, ITransientDependency

Constructors

BackgroundJobStore(IBackgroundJobRepository, IObjectMapper<AbpBackgroundJobsDomainModule>)

Declaration
public BackgroundJobStore(IBackgroundJobRepository backgroundJobRepository, IObjectMapper<AbpBackgroundJobsDomainModule> objectMapper)
Parameters
Type Name Description
IBackgroundJobRepository backgroundJobRepository
IObjectMapper<AbpBackgroundJobsDomainModule> objectMapper

Properties

BackgroundJobRepository

Declaration
protected IBackgroundJobRepository BackgroundJobRepository { get; }
Property Value
Type Description
IBackgroundJobRepository

ObjectMapper

Declaration
protected IObjectMapper<AbpBackgroundJobsDomainModule> ObjectMapper { get; }
Property Value
Type Description
IObjectMapper<AbpBackgroundJobsDomainModule>

Methods

DeleteAsync(Guid)

Declaration
public virtual Task DeleteAsync(Guid jobId)
Parameters
Type Name Description
Guid jobId
Returns
Type Description
Task

FindAsync(Guid)

Declaration
public virtual Task<BackgroundJobInfo> FindAsync(Guid jobId)
Parameters
Type Name Description
Guid jobId
Returns
Type Description
Task<BackgroundJobInfo>

GetWaitingJobsAsync(int)

Declaration
public virtual Task<List<BackgroundJobInfo>> GetWaitingJobsAsync(int maxResultCount)
Parameters
Type Name Description
int maxResultCount
Returns
Type Description
Task<List<BackgroundJobInfo>>

InsertAsync(BackgroundJobInfo)

Declaration
public virtual Task InsertAsync(BackgroundJobInfo jobInfo)
Parameters
Type Name Description
BackgroundJobInfo jobInfo
Returns
Type Description
Task

UpdateAsync(BackgroundJobInfo)

Declaration
public virtual Task UpdateAsync(BackgroundJobInfo jobInfo)
Parameters
Type Name Description
BackgroundJobInfo jobInfo
Returns
Type Description
Task

Implements

IBackgroundJobStore
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform