Class SimulatedUsageModels


  • public class SimulatedUsageModels
    extends Object
    • 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)