Click or drag to resize
ThreadQueueWorkerTItem, TWorker Methods

The ThreadQueueWorkerTItem, TWorker generic type exposes the following members.

Methods
  NameDescription
Protected methodAbortInternal
Aborts the worker and clears the queue
(Overrides ThreadWorkerTAbortInternal.)
Public methodStatic memberClearQueue
Clears the current queue
Protected methodCreateThread
Creates a worker thread object. Override to modify the thread configuration
(Inherited from ThreadWorkerT.)
Protected methodDequeue
Returns the first item in the queue and removes it
Protected methodDoMaintenance
Runs the maintenance routine for the worker
(Inherited from ThreadWorkerT.)
Public methodStatic memberEnqueue
Adds new item to processing queue
Protected methodFinish
Finishes the worker process. Implement this method to specify what the worker must do in order to not lose its internal data when being finished. Leave empty if no extra action is required.
(Inherited from ThreadWorkerT.)
Protected methodInitialize
Initializes the worker. Runs in the worker thread before the thread processes the first iteration.
(Inherited from ThreadWorkerT.)
Protected methodProcess
Method processing queues actions.
(Overrides ThreadWorkerTProcess.)
Protected methodProcessItem
Processes the item in the queue. Override this method to process a single item from the queue.
Protected methodProcessItems
Processes the given list of items. Override this method to process queued items as a bulk. Returns the number of processed items.
Protected methodRegisterInternal
Registers the worker
(Inherited from ThreadWorkerT.)
Protected methodResetInternal Obsolete.
Resets the worker and clears the queue
(Overrides ThreadWorkerTResetInternal.)
Protected methodRun
Runs the action.
(Inherited from ThreadWorkerT.)
Protected methodRunAsync
Runs the task in an asynchronous thread.
(Inherited from ThreadWorkerT.)
Protected methodRunMaintenance
Runs the maintenance routine for the worker if it should run.
(Inherited from ThreadWorkerT.)
Protected methodRunProcess
Runs the internal process of the worker
(Inherited from ThreadWorkerT.)
Top
See Also