Click or drag to resize
SimpleQueueWorker<T> Methods

The SimpleQueueWorker< T> generic type exposes the following members.

Methods
  NameDescription
Protected methodCreateThreadSettings
Creates ThreadSettings object and enables the IsBackground and UseEmptyContext properties.
(Inherited from ThreadWorker<T>.)
Public methodDispose()
Disposes instance of thread worker.
(Inherited from ThreadWorker<T>.)
Protected methodDispose(Boolean)
Disposes instance of thread worker.
(Inherited from ThreadWorker<T>.)
Protected methodDoMaintenance
Turns off thread in case of inactivity.
(Overrides ThreadWorker<T>.DoMaintenance().)
Public methodEnqueue(Action)
Enqueue action with random unique key.
Public methodEnqueue(String, Action)
Enqueue action with given key.
Public methodEnqueue(TItem, Boolean)
Adds new item to processing queue.
(Inherited from ThreadQueueWorker<TItem, TWorker>.)
Public methodEnsureRunningThread
Ensures a running thread for this processor
(Inherited from ThreadWorker<T>.)
Protected methodFinish
Finishes the worker process.
(Overrides ThreadWorker<T>.Finish().)
Protected methodInitialize
Initialize item counter event.
(Overrides ThreadWorker<T>.Initialize().)
Public methodIsThreadRunning
Returns true if the worker thread is currently running
(Inherited from ThreadWorker<T>.)
Protected methodProcess
Method processing queued actions.
(Inherited from ThreadQueueWorker<TItem, TWorker>.)
Protected methodProcessItem
Processing of single action.
(Overrides ThreadQueueWorker<TItem, TWorker>.ProcessItem(TItem).)
Protected methodProcessItems
Processes the given list of items. Override this method to process queued items as a bulk. Returns the number of processed items.
(Inherited from ThreadQueueWorker<TItem, TWorker>.)
Protected methodRunProcess
Runs the internal process of the worker
(Inherited from ThreadWorker<T>.)
Protected methodStopExecution
Stops the worker after finishing its job.
(Inherited from ThreadWorker<T>.)
Top
See Also