org.gridbus.broker.scheduler
Class DataSchedulerOld

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

public class DataSchedulerOld
extends Scheduler
implements JobListener

This class is the scheduler which implements scheduling algorithms considering network and data costs, and data transfer times.

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

Constructor Summary
DataSchedulerOld(GridbusFarmingEngine fe)
          Constructor for the scheduler
 
Method Summary
 void schedule()
          Abstract method: schedule to be implemented by derived classes which implement various scheduling algorithms.
 void setDataFiles(java.util.Collection files)
           
 void setDataHosts(java.util.Hashtable hosts)
           
 void statusChanged(Job j)
          Status changed event for a Job
 
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

DataSchedulerOld

public DataSchedulerOld(GridbusFarmingEngine fe)
Constructor for the scheduler

Parameters:
fe -
Method Detail

schedule

public void schedule()
Description copied from class: Scheduler
Abstract method: schedule to be implemented by derived classes which implement various scheduling algorithms.

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

setDataFiles

public void setDataFiles(java.util.Collection files)
Parameters:
files -

setDataHosts

public void setDataHosts(java.util.Hashtable hosts)
Parameters:
hosts -

statusChanged

public void statusChanged(Job j)
Description copied from interface: JobListener
Status changed event for a Job

Specified by:
statusChanged in interface JobListener
See Also:
JobListener.statusChanged(org.gridbus.broker.farming.common.Job)