Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
CacheCurrentTask ( ) : void | ||
CheckCacheAndRetrieveState ( ) : void | ||
PurgeCache ( ) : void |
Method | Description | |
---|---|---|
removeTask ( string queue, RedisQueue.Net.Clients.Entities.TaskMessage task ) : void |
protected CheckCacheAndRetrieveState ( ) : void | ||
return | void |
public Enqueue ( RedisQueue.Net.Clients.Entities.TaskMessage t ) : void | ||
t | RedisQueue.Net.Clients.Entities.TaskMessage | |
return | void |
public FailedTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
return | IList |
public GetSubscription ( ) : IRedisSubscription | ||
return | IRedisSubscription |
public PendingTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
return | IList |
public QueueClient ( bool enableLocalCaching ) : System | ||
enableLocalCaching | bool | Enable/Disable local caching |
return | System |
public QueueClient ( string host, int port, bool enableCaching ) : System | ||
host | string | |
port | int | |
enableCaching | bool | |
return | System |
public RemoveTask ( RedisQueue.Net.Clients.Entities.TaskMessage task ) : void | ||
task | RedisQueue.Net.Clients.Entities.TaskMessage | |
return | void |
public Reserve ( QueueName queue ) : RedisQueue.Net.Clients.Entities.TaskMessage | ||
queue | QueueName | |
return | RedisQueue.Net.Clients.Entities.TaskMessage |
public Reserve ( string queue ) : RedisQueue.Net.Clients.Entities.TaskMessage | ||
queue | string | |
return | RedisQueue.Net.Clients.Entities.TaskMessage |
public SendMessage ( string message, QueueName queue ) : void | ||
message | string | |
queue | QueueName | |
return | void |
public SendMessage ( string message, string queue ) : void | ||
message | string | |
queue | string | |
return | void |
public SucceededTasks ( QueueName queue ) : IList |
||
queue | QueueName | |
return | IList |
public SucceededTasks ( string queue ) : IList |
||
queue | string | |
return | IList |