Class ProcessRegistry
- java.lang.Object
-
- edu.kit.ipd.sdq.eventsim.resources.ProcessRegistry
-
public class ProcessRegistry extends Object
A registry that mapsIRequest
s toSimulatedProcess
es. Assumes a one-to-one relation between requests and simulated processes.
-
-
Constructor Summary
Constructors Constructor Description ProcessRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimulatedProcess
getOrCreateSimulatedProcess(IRequest request)
Returns the simulated process that is used to schedule resource requests issued by this Request on an active or passive resource.
-
-
-
Method Detail
-
getOrCreateSimulatedProcess
public SimulatedProcess getOrCreateSimulatedProcess(IRequest request)
Returns the simulated process that is used to schedule resource requests issued by this Request on an active or passive resource.- Returns:
- the simulated process
-
-