|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IActiveResource
An active resource can execute demands of schedulable processes. Active resources are shared by multiple processes so that they need to use scheduling strategies to assign processing time of the resources to processes.
| Method Summary | |
|---|---|
String |
getId()
Unique identifier of the resource. |
String |
getName()
Name of the resource. |
void |
notifyTerminated(ISchedulableProcess simProcess)
|
void |
process(ISchedulableProcess process,
double demand)
Processes the specified demand of the process. |
void |
registerProcess(IRunningProcess runningProcess)
|
void |
start()
Creates the initial events for the resource. |
void |
stop()
|
| Method Detail |
|---|
void process(ISchedulableProcess process,
double demand)
void start()
String getId()
String getName()
void stop()
void registerProcess(IRunningProcess runningProcess)
void notifyTerminated(ISchedulableProcess simProcess)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||