C# Class DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlJobQueueCreation

Creates a job queue in the database
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.

PostgreSqlJobQueueCreation ( PostgreSqlMessageQueueCreation queueCreation ) : System

Initializes a new instance of the PostgreSqlJobQueueCreation 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

PostgreSqlJobQueueCreation() public method

Initializes a new instance of the PostgreSqlJobQueueCreation class.
public PostgreSqlJobQueueCreation ( PostgreSqlMessageQueueCreation queueCreation ) : System
queueCreation PostgreSqlMessageQueueCreation The queue 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