|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridbus.broker.common.Scheduler
org.gridbus.broker.scheduler.DBScheduler
public class DBScheduler
This is a simple economy based scheduler for the broker, which doesnot take into account remote data files.
| Field Summary |
|---|
| Fields inherited from class org.gridbus.broker.common.Scheduler |
|---|
applicationID, failed, feasible, finished, numPoll, pollTime, store, timeStart, totalStats, userMarketDir, useSoftwareCost |
| Constructor Summary | |
|---|---|
DBScheduler(java.lang.String applicationID,
int optimisation)
Constructor for the scheduler |
|
| Method Summary | |
|---|---|
void |
jobReset(Job job)
Job is reset |
protected void |
schedule()
Implements the scheduling algorithm, based on cost/time/cost-time optimisation. |
void |
statusChanged(Job job)
Status changed event for a Job |
void |
statusChanged(org.gridbus.scs.common.SCSJob j)
SCS Job : Tom |
| Methods inherited from class org.gridbus.broker.common.Scheduler |
|---|
freeQueueSlot, getCandidateSCSServers, getCandidateServers, getJobStatsFromStore, getKey, getNextReadyJob, getNextReadySCSJob, getPollTime, getReadyServers, groupServers, isClassValid, isFailed, isFeasible, isFinished, isJobRequirementMet, isSCSJobRequirementMet, run, saveJobMapping, saveJobMapping, saveStatusEvent, saveStatusEvent, setFailed, setFeasible, setFinished, sortByCost, sortByRunningJobs, sortByTime, updateJobStatus, updateQos, updateServerPerformance, updateStats |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBScheduler(java.lang.String applicationID,
int optimisation)
throws GridBrokerException
applicationID - optimisation - (one of the constants defined in ScheduleOptimisationType
GridBrokerException| Method Detail |
|---|
protected void schedule()
throws java.lang.Exception
schedule in class Schedulerjava.lang.Exceptionorg.gridbus.broker.farming.common.Scheduler#schedule()public void statusChanged(Job job)
JobListener
statusChanged in interface JobListenerstatusChanged in class SchedulerJobListener.statusChanged(org.gridbus.broker.common.Job)public void statusChanged(org.gridbus.scs.common.SCSJob j)
JobListener
statusChanged in interface JobListenerstatusChanged in class SchedulerJobListener.statusChanged(org.gridbus.broker.common.Job)public void jobReset(Job job)
JobListener
jobReset in interface JobListenerjobReset in class Scheduler
|
Copyright © The University of Melbourne. 2006 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||