C# Class Orc.Scheduling.SchedulingService

Inheritance: ISchedulingService
Datei anzeigen Open project: WildGums/Orc.Scheduling

Public Methods

Method Description
AddScheduledTask ( IScheduledTask scheduledTask ) : void
RemoveScheduledTask ( IScheduledTask scheduledTask ) : void
SchedulingService ( ITimeService timeService ) : System
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
OnRunningTaskCompleted ( Task task ) : void
OnTimerTick ( object state ) : void
StartNewTasksAsync ( ) : Task
StartTask ( IScheduledTask scheduledTask ) : bool
TerminateTask ( RunningTask runningTask ) : void
TerminateTasksTakingTooLongAsync ( ) : Task
UpdateTimerForNextEvent ( ) : void

Method Details

AddScheduledTask() public method

public AddScheduledTask ( IScheduledTask scheduledTask ) : void
scheduledTask IScheduledTask
return void

RemoveScheduledTask() public method

public RemoveScheduledTask ( IScheduledTask scheduledTask ) : void
scheduledTask IScheduledTask
return void

SchedulingService() public method

public SchedulingService ( ITimeService timeService ) : System
timeService ITimeService
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void