public class Strand : TaskSchedulerPublic Class Strand
Inherits TaskSchedulerpublic ref class Strand : public TaskSchedulerGemstone.Threading.Strands.Strand = function();
Type.createClass(
'Gemstone.Threading.Strands.Strand',
TaskScheduler);| Strand | Creates a new instance of the Strand class with a ShortSynchronizedOperation. |
| Strand(SynchronizedOperationFactory) | Creates a new instance of the Strand class. |
| Id | Gets the unique ID for this TaskScheduler. (Inherited from TaskScheduler) |
| MaximumConcurrencyLevel |
Indicates the maximum concurrency level this TaskScheduler is able to support.
(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)) |
| 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.
(Overrides TaskSchedulerTryDequeue(Task)) |
| TryExecuteTask | Attempts to execute the provided Task on this scheduler. (Inherited from TaskScheduler) |
| TryExecuteTaskInline |
Attempts to execute a task inline, but only if this method is
called on the processing thread to avoid parallel execution of tasks.
(Overrides TaskSchedulerTryExecuteTaskInline(Task, Boolean)) |