The CMSWorkerQueue type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| CMSWorkerQueue |
Methods
| Name | Description | |
|---|---|---|
| AddWorker |
Adds the given worker to the queue.
| |
Removes all objects from the (Inherited from | ||
Determines whether an element is in the (Inherited from | ||
Copies the (Inherited from | ||
Removes and returns the object at the beginning of the (Inherited from | ||
Adds an object to the end of the (Inherited from | ||
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Returns an enumerator that iterates through the (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
| CheckWait |
Returns true if the queue processing should wait
| |
Creates a shallow copy of the current (Inherited from | ||
Returns the object at the beginning of the (Inherited from | ||
| QueueWorker(AbstractWorker) |
Adds the given worker to the queue for current request. The workers get executed upon the end of current request or thread or explicit call to RunQueuedWorkers.
| |
| QueueWorker(Action, String) |
Adds given action to the CMSWorkerQueue as an ActionWorker.
| |
| RunAll |
Runs all the workers.
| |
| RunCurrentQueuedWorkers |
Runs the workers queued in current request.
| |
| RunGlobalQueuedWorkers |
Runs the global queued workers
| |
| RunThreadsWaiting |
Runs the threads waiting for the execution of the next allowed threads
| |
| RunWorkers |
Runs the threads in current instance
| |
Copies the (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
Sets the capacity to the actual number of elements in the (Inherited from | ||
| worker_OnStop |
Handles worker's OnStop event.
|
Extension Methods
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
| Name | Description | |
|---|---|---|
| mDuplicities |
Table of existing duplicity keys for current queue.
| |
| mRunningCount |
Number of running threads
| |
| mTotalRunningCount |
Number of running threads from all queues
|
Properties
| Name | Description | |
|---|---|---|
| Closed |
If true, the queue is already closed.
| |
Gets the number of elements contained in the (Inherited from | ||
| Duplicities |
Table of existing duplicity keys for current queue.
| |
| Global |
Gets the global worker queue.
| |
| Instance |
Gets or sets current worker queue.
| |
| Parameters |
Gets or sets parameters of the queue, parameters are indexed by their name.
| |
| RunInSeparateThread |
If true, the worker queue set to run workers synchronously runs in a single separate thread.
| |
| RunningCount |
Number of currently running workers.
| |
| RunWorkersSynchronously |
If true, the worker queue executes the workers one by one synchronously
| |
| TotalRunningCount |
Number of currently running workers from all queues.
|
See Also