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

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

Public Methods

Method 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.

Protected Methods

Method 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 method

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

Dispose() protected method

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.
return void

RedisQueueMonitor() public method

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.
return System

Start() public method

Starts the monitor process.
public Start ( ) : void
return void

Stop() public method

Stops the monitor process.
public Stop ( ) : void
return void

ThrowIfDisposed() protected method

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