C# Class DotNetWorkQueue.Queue.HeartBeatWorkerNoOp

A NoOp implementation of IHeartBeatWorker
Inheritance: IHeartBeatWorker, INoOperation
Show file Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

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

HeartBeatWorkerNoOp ( IMessageContext context ) : System

Initializes a new instance of the HeartBeatWorkerNoOp class.

Start ( ) : void

Starts this instance.

Stop ( ) : void

Stops this instance.

Stop is explicitly called when an error occurs, so that we can preserve the last heartbeat value. Implementations MUST ensure that stop blocks and does not return if the heartbeat is in the middle of updating.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

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

HeartBeatWorkerNoOp() public method

Initializes a new instance of the HeartBeatWorkerNoOp class.
public HeartBeatWorkerNoOp ( IMessageContext context ) : System
context IMessageContext The context.
return System

Start() public method

Starts this instance.
public Start ( ) : void
return void

Stop() public method

Stops this instance.
Stop is explicitly called when an error occurs, so that we can preserve the last heartbeat value. Implementations MUST ensure that stop blocks and does not return if the heartbeat is in the middle of updating.
public Stop ( ) : void
return void