| java.lang.Object org.griphyn.cPlanner.selector.site.heft.Processor
Processor | public class Processor (Code) | | A data class that is used to simulate a processor on a site.
author: Karan Vahi version: $Revision: 297 $ |
Constructor Summary | |
public | Processor() The default constructor. |
Method Summary | |
public long | getAvailableTime(long start) Returns the earliest time the processor is available for scheduling
a job. | public void | scheduleJob(long start, long end) Schedules a job on to a processor. |
Processor | public Processor()(Code) | | The default constructor.
|
getAvailableTime | public long getAvailableTime(long start)(Code) | | Returns the earliest time the processor is available for scheduling
a job. It is non insertion based scheduling policy.
Parameters: start - the time at which to start the search. long |
scheduleJob | public void scheduleJob(long start, long end)(Code) | | Schedules a job on to a processor.
Parameters: start - the start time of the job. Parameters: end - the end time for the job |
|
|