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

A class that will create the queue tables if needed. No support for updating existing tables is provided.
상속: IQueueCreation
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue 1 사용 예제들

공개 메소드들

메소드 설명
CreateQueue ( ) : QueueCreationResult

Creates the queue if needed.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

PostgreSqlMessageQueueCreation ( IConnectionInformation connectionInfo, bool>.IQueryHandler queryTableExists, IPostgreSqlMessageQueueTransportOptionsFactory options, PostgreSqlMessageQueueSchema createSchema, QueueCreationResult>.ICommandHandlerWithOutput createCommand, QueueRemoveResult>.ICommandHandlerWithOutput deleteCommand, ICreationScope creationScope ) : System

Initializes a new instance of the PostgreSqlMessageQueueCreation class.

RemoveQueue ( ) : QueueRemoveResult

Attempts to delete an existing queue

Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

비공개 메소드들

메소드 설명
CreateQueueInternal ( ) : QueueCreationResult

Creates the queue.

RemoveQueueInternal ( ) : QueueRemoveResult

Removes the queue if it exists

메소드 상세

CreateQueue() 공개 메소드

Creates the queue if needed.
public CreateQueue ( ) : QueueCreationResult
리턴 QueueCreationResult

Dispose() 공개 메소드

Releases unmanaged and - optionally - managed 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

PostgreSqlMessageQueueCreation() 공개 메소드

Initializes a new instance of the PostgreSqlMessageQueueCreation class.
public PostgreSqlMessageQueueCreation ( IConnectionInformation connectionInfo, bool>.IQueryHandler queryTableExists, IPostgreSqlMessageQueueTransportOptionsFactory options, PostgreSqlMessageQueueSchema createSchema, QueueCreationResult>.ICommandHandlerWithOutput createCommand, QueueRemoveResult>.ICommandHandlerWithOutput deleteCommand, ICreationScope creationScope ) : System
connectionInfo IConnectionInformation The connection information.
queryTableExists bool>.IQueryHandler The query table exists.
options IPostgreSqlMessageQueueTransportOptionsFactory The options.
createSchema PostgreSqlMessageQueueSchema The create schema.
createCommand QueueCreationResult>.ICommandHandlerWithOutput The create command.
deleteCommand QueueRemoveResult>.ICommandHandlerWithOutput The delete command.
creationScope ICreationScope The creation scope.
리턴 System

RemoveQueue() 공개 메소드

Attempts to delete an existing queue
Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected
public RemoveQueue ( ) : QueueRemoveResult
리턴 QueueRemoveResult

ThrowIfDisposed() 보호된 메소드

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
리턴 void