C# Class DotNetWorkQueue.Queue.QueueMonitor

Wraps multiple queue monitor processes into a single container
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.

QueueMonitor ( IClearExpiredMessagesMonitor clearMessagesFactory, IHeartBeatMonitor heartBeatFactory, IHeartBeatConfiguration heartBeatConfiguration, IMessageExpirationConfiguration expirationConfiguration ) : System

Initializes a new instance of the QueueMonitor 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

QueueMonitor() public méthode

Initializes a new instance of the QueueMonitor class.
public QueueMonitor ( IClearExpiredMessagesMonitor clearMessagesFactory, IHeartBeatMonitor heartBeatFactory, IHeartBeatConfiguration heartBeatConfiguration, IMessageExpirationConfiguration expirationConfiguration ) : System
clearMessagesFactory IClearExpiredMessagesMonitor The clear messages factory.
heartBeatFactory IHeartBeatMonitor The heart beat factory.
heartBeatConfiguration IHeartBeatConfiguration The heart beat configuration.
expirationConfiguration IMessageExpirationConfiguration The expiration configuration.
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