Method | Description | |
---|---|---|
AddTask ( System.Threading.Tasks.Task task ) : void |
Adds a new task to the scheduler.
|
|
AddWorkGroup ( string name, int concurrencyLevel ) : IWorkGroup |
Adds a new work group.
|
|
AddWorkGroup ( string name, int concurrencyLevel, int maxQueueSize ) : IWorkGroup |
Adds a new work group.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
RoomForNewWorkGroupTask ( IWorkGroup group ) : RoomForNewTaskResult |
If true, the task scheduler has room for the specified work group task
|
|
Start ( ) : void |
Starts this instance.
|
|
Subscribe ( ) : int |
Informs the scheduler that a client is connected
|
|
UnSubscribe ( int id ) : void |
Informs the scheduler that a client has disconnected
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
public abstract AddTask ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | The task. |
return | void |
public abstract AddWorkGroup ( string name, int concurrencyLevel ) : IWorkGroup | ||
name | string | The name. |
concurrencyLevel | int | The concurrency level. |
return | IWorkGroup |
public abstract AddWorkGroup ( string name, int concurrencyLevel, int maxQueueSize ) : IWorkGroup | ||
name | string | The name. |
concurrencyLevel | int | The concurrency level. |
maxQueueSize | int | Maximum size of the queue. |
return | IWorkGroup |
protected abstract Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public abstract RoomForNewWorkGroupTask ( IWorkGroup group ) : RoomForNewTaskResult | ||
group | IWorkGroup | The group. |
return | RoomForNewTaskResult |
public abstract UnSubscribe ( int id ) : void | ||
id | int | The client identifier. |
return | void |