Show / Hide Table of Contents

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

true if this instance is runnable; otherwise, false.

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

true if the task has been completed; otherwise, false.

RecalculatePriority()

Recalculates the priority of the task. The task can become runnable as the result of this operation.

Declaration
void RecalculatePriority()
In This Article
Back to top Generated by DocFX