C# 클래스 DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlJobQueueCreation

Creates a job queue in the database
상속: IJobQueueCreation
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

메소드 상세

CreateJobSchedulerQueue() 공개 메소드

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].
리턴 QueueCreationResult

Dispose() 공개 메소드

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

Dispose() 보호된 메소드

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.
리턴 void

PostgreSqlJobQueueCreation() 공개 메소드

Initializes a new instance of the PostgreSqlJobQueueCreation class.
public PostgreSqlJobQueueCreation ( PostgreSqlMessageQueueCreation queueCreation ) : System
queueCreation PostgreSqlMessageQueueCreation The queue creation.
리턴 System

RemoveQueue() 공개 메소드

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