Node Director
Classes
Package sfi.director.schedule

This package implements the job scheduling functionality. More...

Classes

class  ParallelScheduler
class  Scheduler
class  SimpleScheduler

Detailed Description

This package implements the job scheduling functionality.

It is responsible for the job queue management and controls job execution.

When jobs are set up by the application layer they end up in a queue. Jobs in the queue(s) are then handled by the scheduler. The super class of all the possible schedulers is the Scheduler class implementing the basic functionality such as locking and accessing job queues, etc. The main task - running through queueud jobs, decide which of them are due, invoke them, handle failures, etc. - is done by sub classes. Each of this scheduler sub classes implements one scheduling strategy. The Setup class decides which scheduler class will be the effective Scheduler for a director instance (default scheduler is SimpleScheduler).