org.gridbus.broker.scheduler
Class DBScheduler

java.lang.Object
  extended by org.gridbus.broker.scheduler.Scheduler
      extended by org.gridbus.broker.scheduler.DBScheduler
All Implemented Interfaces:
java.lang.Runnable

public class DBScheduler
extends Scheduler

This is a basic scheduler for the broker, which doesnot take into account remote data files.

Author:
Srikumar Venugopal (srikumar@cs.mu.oz.au)

Constructor Summary
DBScheduler(GridbusFarmingEngine fe)
          Constructor for the scheduler
 
Method Summary
 float getBudgetSpent()
           
 void schedule()
          Implements the scheduling algorithm, based on cost/time/cost-time optimisation.
 
Methods inherited from class org.gridbus.broker.scheduler.Scheduler
getAlgorithm, getJobs, getPollTime, getServers, getStats, isClassValid, isFailed, isFeasible, isFinished, printStats, recoverStats, run, setAlgorithm, setFailed, setFeasible, setFinished, setPollTime, sortByCost
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBScheduler

public DBScheduler(GridbusFarmingEngine fe)
Constructor for the scheduler

Parameters:
fe -
Method Detail

schedule

public void schedule()
Implements the scheduling algorithm, based on cost/time/cost-time optimisation. This scheduler works only for jobs where it is not required to consider the cost of data and its transfer. It is used with jobs which do not require remote data files.

Specified by:
schedule in class Scheduler
See Also:
Scheduler.schedule()

getBudgetSpent

public float getBudgetSpent()
Returns:
the total budget spent so far