C# 클래스 DotNetWorkQueue.Transport.Redis.Basic.Lua.EnqueueExpirationLua

Enqueues a message with expiration
상속: BaseLua
파일 보기 프로젝트 열기: blehnen/DotNetWorkQueue

공개 메소드들

메소드 설명
EnqueueExpirationLua ( IRedisConnection connection, RedisNames redisNames ) : System

Initializes a new instance of the EnqueueExpirationLua class.

Execute ( string messageId, byte message, byte headers, byte metaData, long expireTime, bool rpc ) : string

Enqueues a message with an expiration

ExecuteAsync ( string messageId, byte message, byte headers, byte metaData, long expireTime, bool rpc ) : Task

Enqueues a message with an expiration

비공개 메소드들

메소드 설명
GetParameters ( string messageId, byte message, byte headers, byte metaData, long expireTime, bool rpc ) : object

Gets the parameters.

메소드 상세

EnqueueExpirationLua() 공개 메소드

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

Execute() 공개 메소드

Enqueues a message with an expiration
public Execute ( string messageId, byte message, byte headers, byte metaData, long expireTime, bool rpc ) : string
messageId string The message identifier.
message byte The message.
headers byte The headers.
metaData byte The meta data.
expireTime long The expire time.
rpc bool if set to true [RPC].
리턴 string

ExecuteAsync() 공개 메소드

Enqueues a message with an expiration
public ExecuteAsync ( string messageId, byte message, byte headers, byte metaData, long expireTime, bool rpc ) : Task
messageId string The message identifier.
message byte The message.
headers byte The headers.
metaData byte The meta data.
expireTime long The expire time.
rpc bool if set to true [RPC].
리턴 Task