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

Inheritance: BaseLua
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
DoesJobExistLua ( IRedisConnection connection, RedisNames redisNames ) : System

Initializes a new instance of the DoesJobExistLua class.

Execute ( string jobName, DateTimeOffset scheduledTime ) : QueueStatuses

Returns the status of the job

Private Methods

Method Description
GetParameters ( string jobName, DateTimeOffset scheduledTime ) : object

Gets the parameters.

Method Details

DoesJobExistLua() public method

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

Execute() public method

Returns the status of the job
public Execute ( string jobName, DateTimeOffset scheduledTime ) : QueueStatuses
jobName string Name of the job.
scheduledTime DateTimeOffset The scheduled time.
return QueueStatuses