Class SimulatedUsageModels
- java.lang.Object
-
- org.palladiosimulator.simulizar.usagemodel.SimulatedUsageModels
-
public class SimulatedUsageModels extends Object
-
-
Constructor Summary
Constructors Constructor Description SimulatedUsageModels(javax.inject.Provider<InterpreterDefaultContext> rootContextProvider, PCMPartitionManager partitionManager, de.uka.ipd.sdq.simucomframework.model.SimuComModel simucomModel, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager, UsageScenarioSwitchFactory usageScenarioSwitchFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.uka.ipd.sdq.simucomframework.usage.IWorkloadDriver
createAndAddWorkloadDriver(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
de.uka.ipd.sdq.simucomframework.usage.IWorkloadDriver[]
createWorkloadDrivers()
Gets workload drivers for the usage scenarios in the usage modelde.uka.ipd.sdq.simucomframework.usage.ClosedWorkload
getClosedWorkloadDriver(org.palladiosimulator.pcm.usagemodel.ClosedWorkload closedWorkload)
de.uka.ipd.sdq.simucomframework.usage.OpenWorkload
getOpenWorkloadDriver(org.palladiosimulator.pcm.usagemodel.OpenWorkload openWorkload)
de.uka.ipd.sdq.simucomframework.usage.ICancellableWorkloadDriver
getWorkloadDriver(org.palladiosimulator.pcm.usagemodel.Workload workload)
-
-
-
Constructor Detail
-
SimulatedUsageModels
@Inject public SimulatedUsageModels(javax.inject.Provider<InterpreterDefaultContext> rootContextProvider, PCMPartitionManager partitionManager, de.uka.ipd.sdq.simucomframework.model.SimuComModel simucomModel, de.uka.ipd.sdq.scheduler.resources.active.IResourceTableManager resourceTableManager, UsageScenarioSwitchFactory usageScenarioSwitchFactory)
-
-
Method Detail
-
createWorkloadDrivers
public de.uka.ipd.sdq.simucomframework.usage.IWorkloadDriver[] createWorkloadDrivers()
Gets workload drivers for the usage scenarios in the usage model- Returns:
- a list of workload drivers
-
createAndAddWorkloadDriver
public de.uka.ipd.sdq.simucomframework.usage.IWorkloadDriver createAndAddWorkloadDriver(org.palladiosimulator.pcm.usagemodel.UsageScenario usageScenario)
-
getWorkloadDriver
public de.uka.ipd.sdq.simucomframework.usage.ICancellableWorkloadDriver getWorkloadDriver(org.palladiosimulator.pcm.usagemodel.Workload workload)
-
getOpenWorkloadDriver
public de.uka.ipd.sdq.simucomframework.usage.OpenWorkload getOpenWorkloadDriver(org.palladiosimulator.pcm.usagemodel.OpenWorkload openWorkload)
-
getClosedWorkloadDriver
public de.uka.ipd.sdq.simucomframework.usage.ClosedWorkload getClosedWorkloadDriver(org.palladiosimulator.pcm.usagemodel.ClosedWorkload closedWorkload)
-
-