C# 클래스 DotNetWorkQueue.Logging.Decorator.ClearExpiredMessagesDecorator

상속: IClearExpiredMessages
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

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