Click or drag to resize
WebFarmUpdaterAsync Class
Class for run thread with asynchronous data download.
Inheritance Hierarchy
SystemObject
  CMS.BaseThreadWorkerWebFarmUpdaterAsync
    CMS.BaseThreadQueueWorkerString, WebFarmUpdaterAsync
      CMS.WebFarmSyncWebFarmUpdaterAsync

Namespace: CMS.WebFarmSync
Assembly: CMS.WebFarmSync (in CMS.WebFarmSync.dll) Version: 8.2.23
Syntax
C#
public class WebFarmUpdaterAsync : ThreadQueueWorker<string, WebFarmUpdaterAsync>

The WebFarmUpdaterAsync type exposes the following members.

Constructors
  NameDescription
Public methodWebFarmUpdaterAsync
Top
Methods
  NameDescription
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
(Inherited from ThreadQueueWorkerTItem, TWorker.)
Protected methodDoMaintenance
Runs the maintenance routine for the worker
(Inherited from ThreadWorkerT.)
Public methodStatic memberEnsureUpdater
Default constructor.
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.
(Overrides ThreadWorkerTFinish.)
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.
(Inherited from ThreadQueueWorkerTItem, TWorker.)
Protected methodProcessItem
Processes the item in the queue
(Overrides ThreadQueueWorkerTItem, TWorkerProcessItem(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 ThreadQueueWorkerTItem, TWorker.)
Protected methodRegisterInternal
Registers the worker
(Inherited from ThreadWorkerT.)
Protected methodResetInternal
Resets the worker and clears the queue
(Inherited from ThreadQueueWorkerTItem, TWorker.)
Public methodRun
Run web farm update, this is not asynchronous execution.
Protected methodRun(WindowsIdentity)
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Protected propertyDefaultInterval
Gets the interval in milliseconds for the worker.
(Overrides ThreadWorkerTDefaultInterval.)
Protected propertyCheckDuplicity
If true, the queue checks the duplicity when inserting items. The duplicity is checked using the default comparer of the item.
(Overrides ThreadQueueWorkerTItem, TWorkerCheckDuplicity.)
Protected propertyLastRun
Last run time
(Inherited from ThreadWorkerT.)
Protected propertyStatic memberLoggingStrategy
Provides logging strategy.
Protected propertyMaintenanceInterval
Gets the maintenance interval in milliseconds for the worker. When 0 (default), the maintenance is not performed.
(Inherited from ThreadWorkerT.)
Protected propertyNextMaintenance
Next maintenance time
(Inherited from ThreadWorkerT.)
Protected propertyPollThread
Gets or sets thread which is periodically checking for new tasks.
(Inherited from ThreadWorkerT.)
Public propertyUrls
Urls.
Protected propertyUseLogContext
If true, the thread uses a log context for its operations
(Inherited from ThreadWorkerT.)
Top
See Also