|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaos.jack.jak.task.TaskManager
aos.jack.jak.task.SimpleTaskManager
aos.jack.jak.task.SimpleRRTaskManager
A task manager for round-robin scheduling. SimpleRRTaskManager implements a task scheduling policy which commits to the current task at most for a given number of plan steps. When that number of plan steps have been processed, the task is rescheduled to the end of the task list, and the processing continues with the new first task.
Constructor Summary | |
SimpleRRTaskManager()
Constructs a SimpleRRTaskManager with the default round-robin limit of 100 plan steps. |
|
SimpleRRTaskManager(aos.jack.jak.task.TaskListMonitor m,
int c)
Constructs a SimpleRRTaskManager with a given TaskListMonitor and round-robin limit. |
|
SimpleRRTaskManager(int c)
Constructs a SimpleRRTaskManager with a given round-robin limit. |
Method Summary | |
void |
add(aos.jack.jak.task.Task in)
|
int |
getCount()
Return the maximum number of plan steps. |
aos.jack.jak.task.Task |
getNext()
|
void |
setCount(int nsteps)
Change the maximum number of plan steps. |
Methods inherited from class aos.jack.jak.task.SimpleTaskManager |
dump, getTasks, remove, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleRRTaskManager(aos.jack.jak.task.TaskListMonitor m, int c)
public SimpleRRTaskManager(int c)
public SimpleRRTaskManager()
Method Detail |
public int getCount()
public void setCount(int nsteps)
public void add(aos.jack.jak.task.Task in)
add
in class SimpleTaskManager
public aos.jack.jak.task.Task getNext()
getNext
in class SimpleTaskManager
|
JACK 5.4 Application Interface | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.