Class ResourceRepairedEvent
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<ScheduledResource>
de.uka.ipd.sdq.simucomframework.resources.ResourceRepairedEvent
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<ScheduledResource>
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<ScheduledResource>
public class ResourceRepairedEvent
extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<ScheduledResource>
Represents a repair of an AbstractScheduledResource after a failure.
After the occurrence of the repair event, the resource is available again until the next failure
event occurs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Retrieves the corresponding failure event.void
setFailedEvent
(ResourceFailedEvent failedEvent) Sets the corresponding failure event.Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator
removeEvent, schedule, scheduledAtTime
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
getModel, getName
-
Constructor Details
-
ResourceRepairedEvent
The constructor.- Parameters:
model
- the owner modelname
- the name of the event
-
-
Method Details
-
eventRoutine
-
getFailedEvent
Retrieves the corresponding failure event.- Returns:
- the failure event
-
setFailedEvent
Sets the corresponding failure event.- Parameters:
failedEvent
- the failure event
-