SimpleQueueWorkerT Methods |
The SimpleQueueWorkerT generic type exposes the following members.
Name | Description | |
---|---|---|
CreateThreadSettings | (Inherited from ThreadWorkerT.) | |
Dispose |
Disposes instance of thread worker.
(Inherited from ThreadWorkerT.) | |
Dispose(Boolean) |
Disposes instance of thread worker.
(Inherited from ThreadWorkerT.) | |
DoMaintenance |
Turns off thread in case of inactivity.
(Overrides ThreadWorkerTDoMaintenance.) | |
Enqueue(Action) |
Enqueue action with random unique key.
| |
Enqueue(String, Action) |
Enqueue action with given key.
| |
Enqueue(TItem, Boolean) |
Adds new item to processing queue.
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
EnsureRunningThread |
Ensures a running thread for this processor
(Inherited from ThreadWorkerT.) | |
Finish |
Finishes the worker process.
(Overrides ThreadWorkerTFinish.) | |
Initialize |
Initialize item counter event.
(Overrides ThreadWorkerTInitialize.) | |
IsThreadRunning |
Returns true if the worker thread is currently running
(Inherited from ThreadWorkerT.) | |
Process |
Method processing queued actions.
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
ProcessItem |
Processing of single action.
(Overrides ThreadQueueWorkerTItem, TWorkerProcessItem(TItem).) | |
ProcessItems |
Processes the given list of items. Override this method to process queued items as a bulk. Returns the number of processed items.
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
RunProcess |
Runs the internal process of the worker
(Inherited from ThreadWorkerT.) | |
StopExecution |
Stops the worker after finishing its job.
(Inherited from ThreadWorkerT.) |