SynchronizationQueueWorker Class |
Namespace: CMS.Synchronization
public class SynchronizationQueueWorker : SimpleQueueWorker<SynchronizationQueueWorker>
The SynchronizationQueueWorker type exposes the following members.
Name | Description | |
---|---|---|
SynchronizationQueueWorker |
Name | Description | |
---|---|---|
Events |
Events fired by the worker
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
SyncRoot |
Lock this object when doing actions that might change the result of condition run while stopping execution
(Inherited from ThreadWorkerT.) |
Name | Description | |
---|---|---|
DefaultInterval |
Default interval of processing cycle.
(Inherited from SimpleQueueWorkerT.) | |
CheckDuplicity |
If true, the queue checks the duplicity when inserting items. The duplicity is checked using the default comparer of the item.
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
ItemsInQueue |
Return the current number of items in the queue
(Inherited from ThreadQueueWorkerTItem, TWorker.) | |
MaintenanceInterval |
Maintenance interval for turning off the thread.
(Inherited from SimpleQueueWorkerT.) | |
PollThread |
Gets or sets thread which is periodically checking for new tasks.
(Inherited from ThreadWorkerT.) | |
ProcessingPaused |
Indicates whether worker routine is temporarily paused.
(Inherited from ThreadWorkerT.) | |
UseLogContext |
If true, the thread uses a log context for its operations
(Inherited from ThreadWorkerT.) |
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.
(Inherited from SimpleQueueWorkerT.) | |
Enqueue(Action) |
Enqueue action with random unique key.
(Inherited from SimpleQueueWorkerT.) | |
Enqueue(String, Action) |
Enqueue action with given key.
(Inherited from SimpleQueueWorkerT.) | |
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.
(Inherited from SimpleQueueWorkerT.) | |
Initialize |
Initialize item counter event.
(Inherited from SimpleQueueWorkerT.) | |
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.
(Inherited from SimpleQueueWorkerT.) | |
ProcessItems |
Processes the given list of items. Override this method to process queued items as a bulk. Returns the number of processed items.
(Overrides ThreadQueueWorkerTItem, TWorkerProcessItems(IEnumerableTItem).) | |
RunProcess |
Runs the internal process of the worker
(Inherited from ThreadWorkerT.) | |
StopExecution |
Stops the worker after finishing its job.
(Inherited from ThreadWorkerT.) |