C# Class DotNetWorkQueue.Queue.HeartBeatWorkerNoOp

A NoOp implementation of IHeartBeatWorker
Inheritance: IHeartBeatWorker, INoOperation
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

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

HeartBeatWorkerNoOp() public méthode

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

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void

Stop() public méthode

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