Class PassiveResourceObservee
java.lang.Object
de.uka.ipd.sdq.scheduler.resources.passive.PassiveResourceObservee
Provides observer functionality to passive resources. Normally this functionality would reside in
an (abstract) super class, but for passive resources there is no such class that all resources
inherit.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver
(IPassiveResourceSensor observer) void
fireAquire
(ISchedulableProcess process, long num) Notifies observers that the resource has been acquired.void
fireRelease
(ISchedulableProcess process, long num) Notifies observers that the resource has been released.void
fireRequest
(ISchedulableProcess process, long num) Notifies observers that the resource has been requested.void
removeObserver
(IPassiveResourceSensor observer)
-
Constructor Details
-
PassiveResourceObservee
public PassiveResourceObservee()
-
-
Method Details
-
fireRequest
Notifies observers that the resource has been requested. -
fireAquire
Notifies observers that the resource has been acquired. -
fireRelease
Notifies observers that the resource has been released. -
addObserver
-
removeObserver
-