EventLogWorker Class |
Namespace: CMS.EventLog
public sealed class EventLogWorker : ThreadQueueWorker<EventLogInfo, EventLogWorker>
The EventLogWorker type exposes the following members.
Name | Description | |
---|---|---|
![]() | EventLogWorker |
Name | Description | |
---|---|---|
![]() | DefaultInterval |
Gets the interval in milliseconds for the worker (default 100ms)
(Overrides ThreadWorkerTDefaultInterval.) |
![]() | 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.) |
![]() | LastRun |
Last run time
(Inherited from ThreadWorkerT.) |
![]() | MaintenanceInterval |
Gets the maintenance interval in milliseconds (default 10s)
(Overrides ThreadWorkerTMaintenanceInterval.) |
![]() | NextMaintenance |
Next maintenance time
(Inherited from ThreadWorkerT.) |
![]() | PollThread |
Gets or sets thread which is periodically checking for new tasks.
(Inherited from ThreadWorkerT.) |
![]() | UseLogContext |
Use the log context to report status
(Overrides ThreadWorkerTUseLogContext.) |
Name | Description | |
---|---|---|
![]() | AbortInternal |
Aborts the worker and clears the queue
(Inherited from ThreadQueueWorkerTItem, TWorker.) |
![]() | CreateThread |
Creates a worker thread object. Override to modify the thread configuration
(Inherited from ThreadWorkerT.) |
![]() | Dequeue |
Returns the first item in the queue and removes it
(Inherited from ThreadQueueWorkerTItem, TWorker.) |
![]() | DoMaintenance |
Reports the status to the thread log
(Overrides ThreadWorkerTDoMaintenance.) |
![]() | Finish |
Finishes processing all the items remaining in the worker queue
(Overrides ThreadWorkerTFinish.) |
![]() | Initialize |
Initializes the worker. Runs in the worker thread before the thread processes the first iteration.
(Overrides ThreadWorkerTInitialize.) |
![]() | Process |
Method processing queues actions.
(Inherited from ThreadQueueWorkerTItem, TWorker.) |
![]() | ProcessItem |
Processes the item in the queue
(Overrides ThreadQueueWorkerTItem, TWorkerProcessItem(TItem).) |
![]() | ProcessItems |
Processes the items in the queue
(Overrides ThreadQueueWorkerTItem, TWorkerProcessItems(IEnumerableTItem).) |
![]() | RegisterInternal |
Registers the worker
(Inherited from ThreadWorkerT.) |
![]() | ResetInternal | Obsolete.
Resets the worker and clears the queue
(Inherited from ThreadQueueWorkerTItem, TWorker.) |
![]() | Run |
Runs the action.
(Inherited from ThreadWorkerT.) |
![]() | RunAsync |
Runs the task in an asynchronous thread.
(Inherited from ThreadWorkerT.) |
![]() | RunMaintenance |
Runs the maintenance routine for the worker if it should run.
(Inherited from ThreadWorkerT.) |
![]() | RunProcess |
Runs the internal process of the worker
(Inherited from ThreadWorkerT.) |