|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.concurrencyModel.CyclicTasks
public final class CyclicTasks
This class starts cyclic tasks.
CyclicTasks run in a defined cycle and can have different behaviors which define what should happen if the cycle was violated.
If a task fails, the cyclic scheduling will stop.
| Method Summary | |
|---|---|
static ICyclicTaskContainer |
doCyclic(int cycleTimeMillis,
CyclicTask... tasks)
Starts a cyclic thread for the given tasks. |
static ICyclicTaskContainer |
doCyclic(int cycleTimeMillis,
CyclicTaskBehavior behavior,
CyclicTask... tasks)
Starts a cyclic thread for the given tasks. |
static ICyclicTaskContainer |
doCyclic(int cycleTimeMillis,
int priority,
CyclicTaskBehavior behavior,
CyclicTask... tasks)
Starts a cyclic thread for the given tasks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ICyclicTaskContainer doCyclic(int cycleTimeMillis,
int priority,
CyclicTaskBehavior behavior,
CyclicTask... tasks)
cycleTimeMillis - The cycle millis.priority - The priority of the tasks.behavior - The behavior if the tasks do not succeed within the given
cycle.tasks - The tasks to execute.
public static ICyclicTaskContainer doCyclic(int cycleTimeMillis,
CyclicTask... tasks)
cycleTimeMillis - The cycle millis.tasks - The tasks to execute.
public static ICyclicTaskContainer doCyclic(int cycleTimeMillis,
CyclicTaskBehavior behavior,
CyclicTask... tasks)
cycleTimeMillis - The cycle millis.behavior - The behavior is the tasks do not succeed within the given
cycle.tasks - The tasks to execute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||