C# Class DotNetWorkQueue.Transport.Redis.Basic.Lua.SendHeartbeatLua

Sends a heartbeat for a single message
client does not support options of 'zadd'; we are using LUA script to work around this
Inheritance: BaseLua
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Execute ( string messageid, long unixTime ) : int?

Sends a heartbeat for a single message

SendHeartbeatLua ( IRedisConnection connection, RedisNames redisNames ) : StackExchange.Redis

Initializes a new instance of the SendHeartbeatLua class.

Private Methods

Method Description
GetParameters ( string messageid, long unixTime ) : object

Gets the parameters.

Method Details

Execute() public method

Sends a heartbeat for a single message
public Execute ( string messageid, long unixTime ) : int?
messageid string The messageid.
unixTime long The unix time.
return int?

SendHeartbeatLua() public method

Initializes a new instance of the SendHeartbeatLua class.
public SendHeartbeatLua ( IRedisConnection connection, RedisNames redisNames ) : StackExchange.Redis
connection IRedisConnection The connection.
redisNames RedisNames The redis names.
return StackExchange.Redis