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

Resets records that are outside of the heartbeat window
Inheritance: IResetHeartBeat
Show file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
RedisQueueResetHeartBeat ( long>.ICommandHandlerWithOutput commandReset ) : System.Threading

Initializes a new instance of the RedisQueueResetHeartBeat class.

Reset ( CancellationToken cancelToken ) : long

Used to find and reset work items that are out of the heart beat window

Method Details

RedisQueueResetHeartBeat() public method

Initializes a new instance of the RedisQueueResetHeartBeat class.
public RedisQueueResetHeartBeat ( long>.ICommandHandlerWithOutput commandReset ) : System.Threading
commandReset long>.ICommandHandlerWithOutput The command reset.
return System.Threading

Reset() public method

Used to find and reset work items that are out of the heart beat window
public Reset ( CancellationToken cancelToken ) : long
cancelToken System.Threading.CancellationToken The cancel token.
return long