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

Enqueues a message that is delayed
Inheritance: BaseLua
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
EnqueueDelayedLua ( IRedisConnection connection, RedisNames redisNames ) : System.Threading.Tasks

Initializes a new instance of the EnqueueDelayedLua class.

Execute ( string messageId, byte message, byte headers, byte metaData, long unixTime ) : string

Enqueues a message that is delayed

ExecuteAsync ( string messageId, byte message, byte headers, byte metaData, long unixTime ) : Task

Enqueues a message that is delayed

Private Methods

Method Description
GetParameters ( string messageId, byte message, byte headers, byte metaData, long unixTime ) : object

Gets the parameters.

Method Details

EnqueueDelayedLua() public method

Initializes a new instance of the EnqueueDelayedLua class.
public EnqueueDelayedLua ( IRedisConnection connection, RedisNames redisNames ) : System.Threading.Tasks
connection IRedisConnection The connection.
redisNames RedisNames The redis names.
return System.Threading.Tasks

Execute() public method

Enqueues a message that is delayed
public Execute ( string messageId, byte message, byte headers, byte metaData, long unixTime ) : string
messageId string The message identifier.
message byte The message.
headers byte The headers.
metaData byte The meta data.
unixTime long The delay time in unix format.
return string

ExecuteAsync() public method

Enqueues a message that is delayed
public ExecuteAsync ( string messageId, byte message, byte headers, byte metaData, long unixTime ) : Task
messageId string The message identifier.
message byte The message.
headers byte The headers.
metaData byte The meta data.
unixTime long The delay time in unix format.
return Task