Method | Description | |
---|---|---|
SetCancelTokenForStopping ( ) : void |
Sets the cancel flag indicating that workers should no longer look for new work to process
|
|
Stop ( List |
Stops the specified workers.
|
|
StopPrimary ( IPrimaryWorker worker ) : void |
Stops the specified primary worker
|
|
StopWorker ( IQueueCancelWork cancelWorkSource, IWorkerConfiguration configuration, ILogFactory log, IWorkerWaitForEventOrCancel waitForEventOrCancel ) : System |
Initializes a new instance of the StopWorker class.
|
public StopPrimary ( IPrimaryWorker worker ) : void | ||
worker | IPrimaryWorker | The worker. |
return | void |
public StopWorker ( IQueueCancelWork cancelWorkSource, IWorkerConfiguration configuration, ILogFactory log, IWorkerWaitForEventOrCancel waitForEventOrCancel ) : System | ||
cancelWorkSource | IQueueCancelWork | The cancel work source. |
configuration | IWorkerConfiguration | The configuration. |
log | ILogFactory | The log. |
waitForEventOrCancel | IWorkerWaitForEventOrCancel | The wait for event or cancel. |
return | System |