| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.proactive.scheduler.policy.AbstractPolicy
org.objectweb.proactive.scheduler.policy.FIFOPolicy
public class FIFOPolicy
FIFO Policy is a policy where the jobs are served by the order of their submission to the scheduler. There are no priority, the oldest job in the queue is served first.
| Field Summary | 
|---|
| Fields inherited from class org.objectweb.proactive.scheduler.policy.AbstractPolicy | 
|---|
deployedTasks, queue, ressourceManager | 
| Fields inherited from interface org.objectweb.proactive.scheduler.JobConstants | 
|---|
XML_DESC | 
| Fields inherited from interface org.objectweb.proactive.scheduler.SchedulerConstants | 
|---|
JOB_ID, JVM_PARAMETERS, POLICY_NAME, SCHEDULER_NODE_NAME, SCHEDULER_URL, XML_PATH | 
| Constructor Summary | |
|---|---|
FIFOPolicy()
 | 
|
FIFOPolicy(RessourceManager ressourceManager)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
isToBeServed(GenericJob job1,
             GenericJob job2)
Returns true if job1 is to be served before job2 according to the policy.  | 
| Methods inherited from class org.objectweb.proactive.scheduler.policy.AbstractPolicy | 
|---|
checkRunningTasks, del, end, execute, getDeployedTasks, getQueue, nextTask, runActivity, stat, sub | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FIFOPolicy()
public FIFOPolicy(RessourceManager ressourceManager)
| Method Detail | 
|---|
public boolean isToBeServed(GenericJob job1,
                            GenericJob job2)
isToBeServed in class AbstractPolicyjob1 - job2 - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||