Interface ISchedulerTask
Scheduler task.
Namespace: Reaqtive.Scheduler
Assembly: Reaqtive.Interfaces.dll
Syntax
public interface ISchedulerTask
Properties
IsRunnable
Gets a value indicating whether the task is runnable.
Declaration
bool IsRunnable { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Priority
Gets the task priority.
Declaration
long Priority { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Methods
Execute(IScheduler)
Executes the task.
Declaration
bool Execute(IScheduler scheduler)
Parameters
| Type | Name | Description |
|---|---|---|
| IScheduler | scheduler | The scheduler. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
RecalculatePriority()
Recalculates the priority of the task. The task can become runnable as the result of this operation.
Declaration
void RecalculatePriority()