C# Class DotNetWorkQueue.Transport.SqlServer.Basic.SqlServerMessageQueueResetHeartBeat

Searches for and updates work items that are outside of the heart beat window
Inheritance: IResetHeartBeat
Mostrar archivo Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Reset ( CancellationToken cancelToken ) : long

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

SqlServerMessageQueueResetHeartBeat ( QueueConsumerConfiguration configuration, long>.ICommandHandlerWithOutput commandHandler, IQueryHandler queryHandler ) : System.Collections.Generic

Initializes a new instance of the SqlServerMessageQueueResetHeartBeat class.

Method Details

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
return long

SqlServerMessageQueueResetHeartBeat() public method

Initializes a new instance of the SqlServerMessageQueueResetHeartBeat class.
public SqlServerMessageQueueResetHeartBeat ( QueueConsumerConfiguration configuration, long>.ICommandHandlerWithOutput commandHandler, IQueryHandler queryHandler ) : System.Collections.Generic
configuration DotNetWorkQueue.Configuration.QueueConsumerConfiguration The configuration.
commandHandler long>.ICommandHandlerWithOutput The command handler.
queryHandler IQueryHandler The query handler.
return System.Collections.Generic