Class InMemoryBackgroundJobStore
Inheritance
object
InMemoryBackgroundJobStore
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
public class InMemoryBackgroundJobStore : IBackgroundJobStore, ISingletonDependency
Constructors
InMemoryBackgroundJobStore(IClock)
Declaration
public InMemoryBackgroundJobStore(IClock clock)
Parameters
| Type |
Name |
Description |
| IClock |
clock |
|
Properties
Clock
Declaration
protected IClock Clock { get; }
Property Value
Methods
DeleteAsync(Guid)
Declaration
public virtual Task DeleteAsync(Guid jobId)
Parameters
| Type |
Name |
Description |
| System.Guid |
jobId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
FindAsync(Guid)
Declaration
public virtual Task<BackgroundJobInfo> FindAsync(Guid jobId)
Parameters
| Type |
Name |
Description |
| System.Guid |
jobId |
|
Returns
GetWaitingJobsAsync(int)
Declaration
public virtual Task<List<BackgroundJobInfo>> GetWaitingJobsAsync(int maxResultCount)
Parameters
| Type |
Name |
Description |
| int |
maxResultCount |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><System.Collections.Generic.List<T><BackgroundJobInfo>> |
|
InsertAsync(BackgroundJobInfo)
Declaration
public virtual Task InsertAsync(BackgroundJobInfo jobInfo)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
UpdateAsync(BackgroundJobInfo)
Declaration
public virtual Task UpdateAsync(BackgroundJobInfo jobInfo)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements
Extension Methods