|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object be.ac.ua.broker.scheduling.workload.TaskScheduler
public class TaskScheduler
This class is used to represent the scheduler that uses an optimizer to determine the schedule that minimizes the total cost. This class is used during the scheduling phase of the broker process.
Constructor Summary | |
---|---|
TaskScheduler(InstanceWorkloadCollection wlColl,
boolean wm1)
Constructor for TaskScheduler |
Method Summary | |
---|---|
SchedulerResult |
schedule(java.lang.String VERSION)
Perform the scheduling phase of the broker process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskScheduler(InstanceWorkloadCollection wlColl, boolean wm1)
wlColl
- the workload collection that is associated with a single
instance specification that needs to be scheduledwm1
- whether workload model one is being usedMethod Detail |
---|
public SchedulerResult schedule(java.lang.String VERSION) throws InvalidInputException
VERSION
- the scheduler option that needs to used by the scheduler
InvalidInputException
- exception thrown when the provided scheduling option is not
supported by the broker according to the inputVerifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |