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

Creates a job queue in a redis server
Inheritance: IJobQueueCreation
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

CreateJobSchedulerQueue() public method

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].
return QueueCreationResult

Dispose() public method

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

Dispose() protected method

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.
return void

RedisJobQueueCreation() public method

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

RemoveQueue() public method

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