|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.remoteclient.taskplanning.FIFOTaskPlanner
public class FIFOTaskPlanner
A simple FIFO task planner. The tasks returned by this planner are executed enterely. It does not issue another task until the current is finished.
| Constructor Summary | |
|---|---|
FIFOTaskPlanner(IQueue queue)
Creates a new instance of FIFOTaskPlanner that will work against the queue passed as paramenter |
|
| Method Summary | |
|---|---|
IRunnableTask |
nextTask()
Takes the next task to be executed. |
IRunnableTask |
previousTask()
FIFO plans have no previous tasks so, null is always returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FIFOTaskPlanner(IQueue queue)
queue, - the IQueue to be planned| Method Detail |
|---|
public IRunnableTask nextTask()
ITaskPlanner
nextTask in interface ITaskPlannerpublic IRunnableTask previousTask()
previousTask in interface ITaskPlanner
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||