C# Class DotNetWorkQueue.Transport.Redis.Basic.RedisQueueMonitor

An overridden queue monitor that allows us to inject our delayed processing monitor
Inheritance: IQueueMonitor
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RedisQueueMonitor ( IClearExpiredMessagesMonitor clearMessagesFactory, IHeartBeatMonitor heartBeatFactory, IDelayedProcessingMonitor delayedProcessing ) : System

Initializes a new instance of the RedisQueueMonitor class.

Start ( ) : void

Starts the monitor process.

Stop ( ) : void

Stops the monitor process.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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.
Résultat void

RedisQueueMonitor() public méthode

Initializes a new instance of the RedisQueueMonitor class.
public RedisQueueMonitor ( IClearExpiredMessagesMonitor clearMessagesFactory, IHeartBeatMonitor heartBeatFactory, IDelayedProcessingMonitor delayedProcessing ) : System
clearMessagesFactory IClearExpiredMessagesMonitor The clear messages factory.
heartBeatFactory IHeartBeatMonitor The heart beat factory.
delayedProcessing IDelayedProcessingMonitor The delayed processing.
Résultat System

Start() public méthode

Starts the monitor process.
public Start ( ) : void
Résultat void

Stop() public méthode

Stops the monitor process.
public Stop ( ) : void
Résultat void

ThrowIfDisposed() protected méthode

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