C# Класс DotNetWorkQueue.Logging.Decorator.ClearExpiredMessagesDecorator

Наследование: IClearExpiredMessages
Показать файл Открыть проект

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

Метод Описание
ClearExpiredMessagesDecorator ( ILogFactory log, IClearExpiredMessages handler, IConnectionInformation connectionInfo ) : System.Threading

Initializes a new instance of the ClearExpiredMessagesDecorator class.

ClearMessages ( CancellationToken cancelToken ) : long

Clears the expired messages from the queue

Описание методов

ClearExpiredMessagesDecorator() публичный Метод

Initializes a new instance of the ClearExpiredMessagesDecorator class.
public ClearExpiredMessagesDecorator ( ILogFactory log, IClearExpiredMessages handler, IConnectionInformation connectionInfo ) : System.Threading
log ILogFactory The log.
handler IClearExpiredMessages The handler.
connectionInfo IConnectionInformation The connection information.
Результат System.Threading

ClearMessages() публичный Метод

Clears the expired messages from the queue
public ClearMessages ( CancellationToken cancelToken ) : long
cancelToken System.Threading.CancellationToken The cancel token. When signaled, processing should stop as soon as possible
Результат long