Class JobQueueManager
Inheritance
System.Object
JobQueueManager
Implements
ISingletonDependency
Assembly: Volo.Abp.BackgroundJobs.RabbitMQ.dll
Syntax
public class JobQueueManager : object, IJobQueueManager, IRunnable, ISingletonDependency
Constructors
JobQueueManager(IOptions<AbpBackgroundJobOptions>, IServiceProvider)
Declaration
public JobQueueManager(IOptions<AbpBackgroundJobOptions> options, IServiceProvider serviceProvider)
Parameters
Properties
JobQueues
Declaration
protected ConcurrentDictionary<string, IRunnable> JobQueues { get; }
Property Value
Type |
Description |
ConcurrentDictionary<System.String, IRunnable> |
|
Options
Declaration
protected AbpBackgroundJobOptions Options { get; }
Property Value
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
Type |
Description |
IServiceProvider |
|
SyncSemaphore
Declaration
protected SemaphoreSlim SyncSemaphore { get; }
Property Value
Type |
Description |
SemaphoreSlim |
|
Methods
GetAsync<TArgs>()
Declaration
public Task<IJobQueue<TArgs>> GetAsync<TArgs>()
Returns
Type Parameters
StartAsync(CancellationToken)
Declaration
public Task StartAsync(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
StopAsync(CancellationToken)
Declaration
public Task StopAsync(CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Returns
Implements
ISingletonDependency
Extension Methods