public class ConcurrencyLimiter : TaskSchedulerPublic Class ConcurrencyLimiter
Inherits TaskSchedulerpublic ref class ConcurrencyLimiter : public TaskSchedulerGemstone.Threading.ConcurrencyLimiter = function();
Type.createClass(
'Gemstone.Threading.ConcurrencyLimiter',
TaskScheduler);| ConcurrencyLimiter | Creates a new instance of the ConcurrencyLimiter class with a ShortSynchronizedOperation and a maximum concurrency level equal to the number of processors on the current machine. |
| ConcurrencyLimiter(Int32) | Creates a new instance of the ConcurrencyLimiter class with a ShortSynchronizedOperation. |
| ConcurrencyLimiter(SynchronizedOperationFactory) | Creates a new instance of the ConcurrencyLimiter class with a maximum concurrency level equal to the number of processors on the current machine. |
| ConcurrencyLimiter(SynchronizedOperationFactory, Int32) | Creates a new instance of the ConcurrencyLimiter class. |
| CurrentConcurrencyLevel | Gets the number of threads that are currently executing tasks concurrently. |
| Id | Gets the unique ID for this TaskScheduler. (Inherited from TaskScheduler) |
| MaximumConcurrencyLevel |
Gets the maximum number of threads that can be executing tasks concurrently.
(Overrides TaskSchedulerMaximumConcurrencyLevel) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetScheduledTasks |
For debugger support only, generates an enumerable of Task
instances currently queued to the scheduler waiting to be executed.
(Overrides TaskSchedulerGetScheduledTasks) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| QueueTask |
Queues a Task to the scheduler.
(Overrides TaskSchedulerQueueTask(Task)) |
| SetMaximumConcurrencyLevel | Sets the maximum number of threads that can be executing tasks concurrently. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryDequeue | Attempts to dequeue a Task that was previously queued to this scheduler. (Inherited from TaskScheduler) |
| TryExecuteTask | Attempts to execute the provided Task on this scheduler. (Inherited from TaskScheduler) |
| TryExecuteTaskInline |
Determines whether the provided Task can be executed synchronously
in this call, and if it can, executes it.
(Overrides TaskSchedulerTryExecuteTaskInline(Task, Boolean)) |