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

Sends a heartbeat for a worker
Inheritance: ISendHeartBeat
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
RedisQueueSendHeartBeat ( long>.ICommandHandlerWithOutput sendHeartBeat, IUnixTimeFactory unixTimeFactory ) : DotNetWorkQueue.Queue

Initializes a new instance of the RedisQueueSendHeartBeat class.

Send ( IMessageContext context ) : IHeartBeatStatus

Updates the heart beat for a record.

Method Details

RedisQueueSendHeartBeat() public method

Initializes a new instance of the RedisQueueSendHeartBeat class.
public RedisQueueSendHeartBeat ( long>.ICommandHandlerWithOutput sendHeartBeat, IUnixTimeFactory unixTimeFactory ) : DotNetWorkQueue.Queue
sendHeartBeat long>.ICommandHandlerWithOutput The send heart beat.
unixTimeFactory IUnixTimeFactory The unix time factory.
return DotNetWorkQueue.Queue

Send() public method

Updates the heart beat for a record.
public Send ( IMessageContext context ) : IHeartBeatStatus
context IMessageContext The context.
return IHeartBeatStatus