|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPassiveResource
A passive can be hold by a process for some time. As the number of available instances is limited the process might has to wait until it gets the requested number of instances.
| Method Summary | |
|---|---|
boolean |
acquire(ISchedulableProcess process,
int num)
Acquires num instances of the passive resource for the given process. |
String |
getId()
Unique identifier of the resource. |
String |
getName()
Name of the resource. |
void |
release(ISchedulableProcess process,
int num)
Releases num instances of the passive resource from the given process. |
| Method Detail |
|---|
boolean acquire(ISchedulableProcess process,
int num)
void release(ISchedulableProcess process,
int num)
String getName()
String getId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||