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

Deletes expired messages from the queue
상속: IClearExpiredMessages
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
ClearMessages ( CancellationToken cancelToken ) : long

Clears the expired messages from the queue

PostgreSqlMessageQueueClearExpiredMessages ( IConnectionInformation connectionInfo, IQueryHandler findExpiredMessagesQueryHandler, long>.ICommandHandlerWithOutput deleteMessageCommandHandler ) : System.Collections.Generic

Initializes a new instance of the PostgreSqlMessageQueueClearExpiredMessages class.

메소드 상세

ClearMessages() 공개 메소드

Clears the expired messages from the queue
public ClearMessages ( CancellationToken cancelToken ) : long
cancelToken System.Threading.CancellationToken The cancel token. If fired, stop processing
리턴 long

PostgreSqlMessageQueueClearExpiredMessages() 공개 메소드

Initializes a new instance of the PostgreSqlMessageQueueClearExpiredMessages class.
public PostgreSqlMessageQueueClearExpiredMessages ( IConnectionInformation connectionInfo, IQueryHandler findExpiredMessagesQueryHandler, long>.ICommandHandlerWithOutput deleteMessageCommandHandler ) : System.Collections.Generic
connectionInfo IConnectionInformation The connection information.
findExpiredMessagesQueryHandler IQueryHandler The find expired messages query handler.
deleteMessageCommandHandler long>.ICommandHandlerWithOutput The delete message command handler.
리턴 System.Collections.Generic