Class JobSlotStrategyHelper


  • public class JobSlotStrategyHelper
    extends Object
    • Field Detail

      • MIDDLEWARE_PASSIVE_RESOURCE_COMPONENT_NAME

        public static final String MIDDLEWARE_PASSIVE_RESOURCE_COMPONENT_NAME
        See Also:
        Constant Field Values
      • REQUIRED_SLOTS_PARAMETER_SPECIFICATION

        public static final String REQUIRED_SLOTS_PARAMETER_SPECIFICATION
        See Also:
        Constant Field Values
      • RESOURCE_CONTAINER_SLOTS

        public static final Map<org.palladiosimulator.pcm.resourceenvironment.ResourceContainer,​Long> RESOURCE_CONTAINER_SLOTS
      • isActive

        public static boolean isActive
      • SYSTEM_ASSEMBLY_CONTEXT

        public static org.palladiosimulator.pcm.core.composition.AssemblyContext SYSTEM_ASSEMBLY_CONTEXT
    • Constructor Detail

      • JobSlotStrategyHelper

        public JobSlotStrategyHelper()
    • Method Detail

      • jobFinished

        public static void jobFinished​(org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyFinished,
                                       org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext context)
      • hasToBeQueued

        public static boolean hasToBeQueued​(long requiredSlots)
      • reset

        public static void reset()
      • getResourceContainerForBranch

        public static org.palladiosimulator.pcm.resourceenvironment.ResourceContainer getResourceContainerForBranch​(LoadbalancingBranchTransition branchTransition,
                                                                                                                    org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext context)
      • getFreeSlotsOfContainer

        public static Long getFreeSlotsOfContainer​(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container,
                                                   org.palladiosimulator.simulizar.interpreter.InterpreterDefaultContext context)
      • activateFitting

        public static void activateFitting​(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer container)