C# Класс DotNetWorkQueue.Transport.PostgreSQL.Basic.PostgreSqlMessageQueueClearExpiredMessages

Deletes expired messages from the queue
Наследование: IClearExpiredMessages
Показать файл Открыть проект

Открытые методы

Метод Описание
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