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

Moves a message from the working queue back into the pending queue
Inheritance: BaseLua
ファイルを表示 Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
Execute ( string messageId, bool rpc ) : int?

Moves a message from the working queue back into the pending queue

RollbackLua ( IRedisConnection connection, RedisNames redisNames ) : System

Initializes a new instance of the RollbackLua class.

Private Methods

Method Description
GetParameters ( string messageId, bool rpc ) : object

Gets the parameters.

Method Details

Execute() public method

Moves a message from the working queue back into the pending queue
public Execute ( string messageId, bool rpc ) : int?
messageId string The message identifier.
rpc bool if set to true [RPC].
return int?

RollbackLua() public method

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