Class PassiveResourceTimeoutEvent
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
de.uka.ipd.sdq.simucomframework.resources.PassiveResourceTimeoutEvent
- All Implemented Interfaces:
de.uka.ipd.sdq.simulation.abstractsimengine.ISimEvent<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
,de.uka.ipd.sdq.simulation.abstractsimengine.ISimRunnable<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
public class PassiveResourceTimeoutEvent
extends de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEventDelegator<de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess>
This event indicates a timeout of a process waiting at a passive resource.
-
Constructor Summary
ConstructorDescriptionPassiveResourceTimeoutEvent
(SimuComModel simuComModel, de.uka.ipd.sdq.scheduler.SchedulerModel model, SimSimpleFairPassiveResource resource, de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess process) Creates a new timeout event. -
Method Summary
Modifier and TypeMethodDescriptionvoid
eventRoutine
(de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess who) de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess
Retrieves the waiting process.Retrieves the passive resource.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
-
PassiveResourceTimeoutEvent
public PassiveResourceTimeoutEvent(SimuComModel simuComModel, de.uka.ipd.sdq.scheduler.SchedulerModel model, SimSimpleFairPassiveResource resource, de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess process) Creates a new timeout event.- Parameters:
model
- the SimuCom modelresource
- the involved passive resourceprocess
- the waiting process
-
-
Method Details
-
eventRoutine
public void eventRoutine(de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess who) -
getProcess
public de.uka.ipd.sdq.scheduler.processes.SimpleWaitingProcess getProcess()Retrieves the waiting process.- Returns:
- the waiting process
-
getResource
Retrieves the passive resource.- Returns:
- the passive resource
-