Package de.uka.ipd.sdq.scheduler.sensors
Interface IActiveResourceStateSensor
-
public interface IActiveResourceStateSensor
Observer of a resource's state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
demandCompleted(ISchedulableProcess simProcess)
Notifies the sensor about a process whose demand has been completed by the resource.void
update(long state, int instanceId)
Notifies the sensor about a state change of the resource.
-
-
-
Method Detail
-
update
void update(long state, int instanceId)
Notifies the sensor about a state change of the resource.- Parameters:
state
- the changed stateinstanceId
- id of the instance whose state changed
-
demandCompleted
void demandCompleted(ISchedulableProcess simProcess)
Notifies the sensor about a process whose demand has been completed by the resource.- Parameters:
simProcess
- the process whose demand has been completed by the resource.typeID
- the id of the resource
-
-