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

Dequeues the next record
Inheritance: BaseLua
Mostra file Open project: blehnen/DotNetWorkQueue

Public Methods

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

Initializes a new instance of the DequeueLua class.

Execute ( long unixTime ) : RedisValue[]

Dequeues the next record

ExecuteAsync ( long unixTime ) : Task

Dequeues the next record

Private Methods

Method Description
GetParameters ( long unixTime ) : object

Gets the parameters.

Method Details

DequeueLua() public method

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

Execute() public method

Dequeues the next record
public Execute ( long unixTime ) : RedisValue[]
unixTime long The current unix time.
return RedisValue[]

ExecuteAsync() public method

Dequeues the next record
public ExecuteAsync ( long unixTime ) : Task
unixTime long The current unix time.
return Task