C# Class DotNetWorkQueue.Transport.Redis.Basic.RedisJobQueueCreation

Creates a job queue in a redis server
Inheritance: IJobQueueCreation
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
CreateJobSchedulerQueue ( Action registerService, string queue, string connection, bool enableRoute = false ) : QueueCreationResult

Tells the transport to setup and create a queue for handling re-occurring jobs.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RedisJobQueueCreation ( RedisQueueCreation creation ) : System

Initializes a new instance of the RedisJobQueueCreation class.

RemoveQueue ( ) : QueueRemoveResult

Attempts to delete an existing queue

May not be supported by all transports. Any data in the queue will be lost.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CreateJobSchedulerQueue() public méthode

Tells the transport to setup and create a queue for handling re-occurring jobs.
public CreateJobSchedulerQueue ( Action registerService, string queue, string connection, bool enableRoute = false ) : QueueCreationResult
registerService Action The additional registrations.
queue string The queue.
connection string The connection.
enableRoute bool if set to true [enable route].
Résultat QueueCreationResult

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

RedisJobQueueCreation() public méthode

Initializes a new instance of the RedisJobQueueCreation class.
public RedisJobQueueCreation ( RedisQueueCreation creation ) : System
creation RedisQueueCreation The creation.
Résultat System

RemoveQueue() public méthode

Attempts to delete an existing queue
May not be supported by all transports. Any data in the queue will be lost.
public RemoveQueue ( ) : QueueRemoveResult
Résultat QueueRemoveResult