Class ResourceContainerWrapper

java.lang.Object
de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer
de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer
edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.jobs.ResourceContainerWrapper

public class ResourceContainerWrapper extends de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer
  • Field Summary

    Fields

    Fields inherited from class de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer

    activeResourceProvidedInterfaces, activeResources, LOGGER, myContainerID, myModel
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResourceContainerWrapper(de.uka.ipd.sdq.simucomframework.model.SimuComModel myModel, String myContainerID, de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer originalResourceContainer, String cpuResourceId, String cpuSchedulingStrategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.uka.ipd.sdq.scheduler.IPassiveResource
    createPassiveResource(org.palladiosimulator.pcm.repository.PassiveResource resource, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, long capacity)
     
    void
    loadActiveResource(de.uka.ipd.sdq.simucomframework.SimuComSimProcess requestingProcess, String typeID, double demand)
     
    void
    loadActiveResource(de.uka.ipd.sdq.simucomframework.SimuComSimProcess requestingProcess, String providedInterfaceID, int resourceServiceID, double demand)
     

    Methods inherited from class de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer

    addActiveResource, addActiveResourceWithoutCalculators, addNestedResourceContainer, getNestedResourceContainers, getParentResourceContainer, loadActiveResource, loadActiveResource, setParentResourceContainer

    Methods inherited from class de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer

    getActiveResources, getAllActiveResources, getFailedResources, getResourceContainerID

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ResourceContainerWrapper

      public ResourceContainerWrapper(de.uka.ipd.sdq.simucomframework.model.SimuComModel myModel, String myContainerID, de.uka.ipd.sdq.simucomframework.resources.AbstractSimulatedResourceContainer originalResourceContainer, String cpuResourceId, String cpuSchedulingStrategy)
  • Method Details

    • loadActiveResource

      public void loadActiveResource(de.uka.ipd.sdq.simucomframework.SimuComSimProcess requestingProcess, String typeID, double demand)
      Overrides:
      loadActiveResource in class de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer
    • loadActiveResource

      public void loadActiveResource(de.uka.ipd.sdq.simucomframework.SimuComSimProcess requestingProcess, String providedInterfaceID, int resourceServiceID, double demand)
      Overrides:
      loadActiveResource in class de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer
    • createPassiveResource

      public de.uka.ipd.sdq.scheduler.IPassiveResource createPassiveResource(org.palladiosimulator.pcm.repository.PassiveResource resource, org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext, long capacity)
      Overrides:
      createPassiveResource in class de.uka.ipd.sdq.simucomframework.resources.SimulatedResourceContainer