Click or drag to resize
WorkflowActionQueueWorker Class
Queue worker for processing workflow actions
Inheritance Hierarchy
System.Object
  CMS.Base.ThreadWorker<WorkflowActionQueueWorker>
    CMS.Base.ThreadQueueWorker<SimpleQueueItem, WorkflowActionQueueWorker>
      CMS.Base.SimpleQueueWorker<WorkflowActionQueueWorker>
        CMS.WorkflowEngine.WorkflowActionQueueWorker

Namespace: CMS.WorkflowEngine
Assembly: CMS.WorkflowEngine (in CMS.WorkflowEngine.dll) Version: 10.0.0
Syntax
C#
public class WorkflowActionQueueWorker : SimpleQueueWorker<WorkflowActionQueueWorker>

The WorkflowActionQueueWorker type exposes the following members.

Constructors
  NameDescription
Public methodWorkflowActionQueueWorker
Top
Fields
Properties
  NameDescription
Protected propertyDefaultInterval
Default interval of processing cycle.
(Inherited from SimpleQueueWorker<T>.)
Protected propertyCheckDuplicity
If true, the queue checks the duplicity when inserting items. The duplicity is checked using the default comparer of the item.
(Inherited from ThreadQueueWorker<TItem, TWorker>.)
Public propertyItemsInQueue
Return the current number of items in the queue
(Inherited from ThreadQueueWorker<TItem, TWorker>.)
Protected propertyMaintenanceInterval
Maintenance interval for turning off the thread.
(Inherited from SimpleQueueWorker<T>.)
Protected propertyPollThread
Gets or sets thread which is periodically checking for new tasks.
(Inherited from ThreadWorker<T>.)
Public propertyProcessingPaused
Indicates whether worker routine is temporarily paused.
(Inherited from ThreadWorker<T>.)
Protected propertyUseLogContext
If true, the thread uses a log context for its operations
(Inherited from ThreadWorker<T>.)
Top
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.
(Inherited from SimpleQueueWorker<T>.)
Public methodEnqueue(Action)
Enqueue action with random unique key.
(Inherited from SimpleQueueWorker<T>.)
Public methodEnqueue(String, Action)
Enqueue action with given key.
(Inherited from SimpleQueueWorker<T>.)
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.
(Inherited from SimpleQueueWorker<T>.)
Protected methodInitialize
Initialize item counter event.
(Inherited from SimpleQueueWorker<T>.)
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.
(Inherited from SimpleQueueWorker<T>.)
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