Package de.uka.ipd.sdq.scheduler.sensors
Interface IPassiveResourceSensor
-
public interface IPassiveResourceSensorObserver of a passive resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacquire(ISchedulableProcess process, long num)The given process has successfully acquired num instances of the passive resource.voidrelease(ISchedulableProcess process, long num)The given process has released num instances of the passive resource.voidrequest(ISchedulableProcess process, long num)The given process has requested num instances of the passive resource but not yet acquired them.
-
-
-
Method Detail
-
request
void request(ISchedulableProcess process, long num)
The given process has requested num instances of the passive resource but not yet acquired them.
-
acquire
void acquire(ISchedulableProcess process, long num)
The given process has successfully acquired num instances of the passive resource.
-
release
void release(ISchedulableProcess process, long num)
The given process has released num instances of the passive resource.
-
-