Метод | Описание | |
---|---|---|
AllQueues ( ) : IList |
Returns a list of all queues found.
|
|
AllTasks ( QueueName queue ) : IList |
Returns all tasks.
|
|
AllTasks ( string queue ) : IList |
Returns all tasks.
|
|
CriticalFail ( string reason ) : void |
Marks the current task as failed, and regardless of the cycling setting, places it in the :failed queue.
|
|
Defer ( string reason ) : void |
Marks the currently reserved task as Deferred.
|
|
Dispose ( ) : void |
Disposable impl. Handles cleanup and marks any uncompleted tasks as failed.
|
|
Enqueue ( RedisQueue.Net.Clients.Entities.TaskMessage t ) : void |
Adds a task to the queue specified in the task itself and sends a message to the associated channel, notifying any listeners.
|
|
Fail ( string reason ) : void |
Marks the currently reserved task as failed.
|
|
FailedTasks ( QueueName queue ) : IList |
Returns all failed tasks.
|
|
FailedTasks ( string queue ) : IList |
Returns all failed tasks.
|
|
GetSubscription ( ) : IRedisSubscription |
Returns an empty channel subscription.
|
|
PendingTasks ( QueueName queue ) : IList |
Returns all pending tasks.
|
|
PendingTasks ( string queue ) : IList |
Returns all pending tasks.
|
|
QueueClient ( ) : System |
Uses app settings for RedisHost and RedisPort and local caching
|
|
QueueClient ( bool enableLocalCaching ) : System |
Uses app settings for RedisHost and RedisPort
|
|
QueueClient ( string host, int port, bool enableCaching ) : System | ||
RemoveTask ( RedisQueue.Net.Clients.Entities.TaskMessage task ) : void |
Removes a task with a specific task identifier.
|
|
Reserve ( QueueName queue ) : RedisQueue.Net.Clients.Entities.TaskMessage |
Obtains the first available task from the specified queue, and changes the client's state into TaskReserved. In that state, no new tasks can be reserved until the task's outcome is evident.
|
|
Reserve ( string queue ) : RedisQueue.Net.Clients.Entities.TaskMessage |
Obtains the first available task from the specified queue, and changes the client's state into TaskReserved. In that state, no new tasks can be reserved until the task's outcome is evident.
|
|
SendMessage ( string message, QueueName queue ) : void |
Sends a message to the channel associated with a specific queue.
|
|
SendMessage ( string message, string queue ) : void |
Sends a message to the channel associated with a specific queue.
|
|
Succeed ( ) : void |
Marks the currently reserved task as succeeded.
|
|
SucceededTasks ( QueueName queue ) : IList |
Returns all succeeded tasks.
|
|
SucceededTasks ( string queue ) : IList |
Returns all succeeded tasks.
|
Метод | Описание | |
---|---|---|
CacheCurrentTask ( ) : void | ||
CheckCacheAndRetrieveState ( ) : void | ||
PurgeCache ( ) : void |
Метод | Описание | |
---|---|---|
removeTask ( string queue, RedisQueue.Net.Clients.Entities.TaskMessage task ) : void |
public AllTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
Результат | IList |
protected CheckCacheAndRetrieveState ( ) : void | ||
Результат | void |
public CriticalFail ( string reason ) : void | ||
reason | string | |
Результат | void |
public Enqueue ( RedisQueue.Net.Clients.Entities.TaskMessage t ) : void | ||
t | RedisQueue.Net.Clients.Entities.TaskMessage | |
Результат | void |
public FailedTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
Результат | IList |
public FailedTasks ( string queue ) : IList |
||
queue | string | |
Результат | IList |
public GetSubscription ( ) : IRedisSubscription | ||
Результат | IRedisSubscription |
public PendingTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
Результат | IList |
public PendingTasks ( string queue ) : IList |
||
queue | string | |
Результат | IList |
public QueueClient ( bool enableLocalCaching ) : System | ||
enableLocalCaching | bool | Enable/Disable local caching |
Результат | System |
public QueueClient ( string host, int port, bool enableCaching ) : System | ||
host | string | |
port | int | |
enableCaching | bool | |
Результат | System |
public RemoveTask ( RedisQueue.Net.Clients.Entities.TaskMessage task ) : void | ||
task | RedisQueue.Net.Clients.Entities.TaskMessage | |
Результат | void |
public Reserve ( QueueName queue ) : RedisQueue.Net.Clients.Entities.TaskMessage | ||
queue | QueueName | |
Результат | RedisQueue.Net.Clients.Entities.TaskMessage |
public Reserve ( string queue ) : RedisQueue.Net.Clients.Entities.TaskMessage | ||
queue | string | |
Результат | RedisQueue.Net.Clients.Entities.TaskMessage |
public SendMessage ( string message, QueueName queue ) : void | ||
message | string | |
queue | QueueName | |
Результат | void |
public SendMessage ( string message, string queue ) : void | ||
message | string | |
queue | string | |
Результат | void |
public SucceededTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
Результат | IList |
public SucceededTasks ( string queue ) : IList |
||
queue | string | |
Результат | IList |