Class ResourceFailedEvent
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<ScheduledResource>
de.uka.ipd.sdq.simucomframework.resources.ResourceFailedEvent
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<ScheduledResource>
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<ScheduledResource>
public class ResourceFailedEvent
extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<ScheduledResource>
Represents a failure of an AbstractScheduledResource.
After the occurrence of the failure event, the resource remains unavailable until the next repair
event occurs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Retrieves the corresponding repair event.void
setRepairedEvent
(ResourceRepairedEvent repairedEvent) Sets the corresponding repair 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
-
ResourceFailedEvent
The constructor.- Parameters:
model
- the owner modelname
- the name of the event
-
-
Method Details
-
eventRoutine
-
getRepairedEvent
Retrieves the corresponding repair event.- Returns:
- the repair event
-
setRepairedEvent
Sets the corresponding repair event.- Parameters:
repairedEvent
- the repair event
-