|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISchedulableProcess
Process that can be scheduled for execution on an active resource or can acquire and release passive resources.
| Method Summary | |
|---|---|
void |
activate()
Notifies the process to resume its execution. |
void |
addTerminatedObserver(IActiveResource o)
|
void |
fireTerminated()
|
String |
getId()
Unique identifier of the process. |
ISchedulableProcess |
getRootProcess()
Returns the root process that spawned this processes (directly or indirectly). |
boolean |
isFinished()
Return whether this process is finished |
void |
passivate()
Notifies the process to suspend its execution. |
void |
removeTerminatedObserver(IActiveResource o)
|
| Method Detail |
|---|
void activate()
void passivate()
String getId()
ISchedulableProcess getRootProcess()
boolean isFinished()
void fireTerminated()
void addTerminatedObserver(IActiveResource o)
void removeTerminatedObserver(IActiveResource o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||