|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object xdc.services.getset.Scheduler
public class Scheduler
Schedules execution of Fxns and Groups. Fxns within a group always run to completion before another function within the group. Groups may interrupt each other.
Note: Does not support multiple Threads accessing the XDCscript object model.
Constructor Summary | |
---|---|
Scheduler()
|
Method Summary | |
---|---|
static Group |
createGroup()
|
static Fxn |
getRunningFxn()
Get which Fxn is currently running, or null if none. |
static Group |
getRunningGroup()
Get which Group is currently running, or null if none. |
static void |
schedule(Group group)
Schedule the group for execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Scheduler()
Method Detail |
---|
public static Group createGroup()
public static Group getRunningGroup()
public static Fxn getRunningFxn()
public static void schedule(Group group)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |