Property | Type | Description | |
---|---|---|---|
BuildDefaultName | string | ||
GetNextTaskToRun | |||
Initialize | void | ||
MakeRound | void | ||
ReportSchedule | void |
Method | Description | |
---|---|---|
RequestStop ( ) : void |
Notifies the engine to stop running as soon as its safe to do so (finishes the task currently executing).
|
|
Run ( ) : void |
Runs the engine and starts executing tasks by configured schedule. Does not return until RequestStop() is called by another thread.
|
|
RunInSeparateThread ( ) : Thread |
Starts to schedule and execute the tasks in background thread.
|
|
SchedulerEngineBase ( ) : System | ||
SchedulerEngineBase ( String name, ISchedulerEngineLogger logger ) : System |
|
Method | Description | |
---|---|---|
InitializeTasks ( ) : IEnumerable |
Initialize tasks to execute.
|
Method | Description | |
---|---|---|
BuildDefaultName ( ) : string | ||
GetNextTaskToRun ( ) : |
||
Initialize ( ) : void |
Sets up service, resets tasks and their configuration.
|
|
MakeRound ( ) : void |
Engine execution step - waits a configured time (pollInterval) or executes a task.
|
|
ReportSchedule ( ) : void |
protected abstract InitializeTasks ( ) : IEnumerable |
||
return | IEnumerable |
public SchedulerEngineBase ( String name, ISchedulerEngineLogger logger ) : System | ||
name | String | |
logger | ISchedulerEngineLogger | If not set then initialized to CsvSchedulerEngineLogger |
return | System |