|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JScheduler
This interface represents the scheduler component of the Java virtual machine.
JThread| Method Summary | |
|---|---|
void |
breakScheduling()
Stops the thread managing loop of this scheduler. |
void |
enqueueThread(JThread thread)
Puts the specified thread in the thread queue of this scheduler. |
JThread |
getCurrentThread()
Returns the current executing thread. |
JThread[] |
getThreads()
Returns all the active threads managed by this scheduler. |
boolean |
hasNext()
Determines if there is a thread to be managed by this scheduler. |
void |
schedule()
Starts the thread managing loops of this scheduler. |
| Methods inherited from interface fr.umlv.corosol.component.JVMComponent |
|---|
configure, getComponentClass, replace |
| Method Detail |
|---|
JThread getCurrentThread()
void enqueueThread(JThread thread)
thread - a new thread to be scheduled
void schedule()
throws java.lang.Throwable
java.lang.Throwable - if an exception occurs during executionbreakScheduling()void breakScheduling()
getThreads()JThread[] getThreads()
boolean hasNext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||