|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.selector.site.heft.Processor
public class Processor
A data class that is used to simulate a processor on a site.
| Field Summary | |
|---|---|
private long |
mEndTime
The end time of the current scheduled job. |
private long |
mStartTime
The start time of the current scheduled job. |
| Constructor Summary | |
|---|---|
Processor()
The default constructor. |
|
| Method Summary | |
|---|---|
long |
getAvailableTime(long start)
Returns the earliest time the processor is available for scheduling a job. |
void |
scheduleJob(long start,
long end)
Schedules a job on to a processor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private long mStartTime
private long mEndTime
| Constructor Detail |
|---|
public Processor()
| Method Detail |
|---|
public long getAvailableTime(long start)
start - the time at which to start the search.
public void scheduleJob(long start,
long end)
start - the start time of the job.end - the end time for the job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||