Class Reconfigurator

    • Constructor Detail

      • Reconfigurator

        public Reconfigurator​(org.palladiosimulator.analyzer.workflow.blackboard.PCMResourceSetPartition partition,
                              ReconfigurationProcessFactory processFactory,
                              de.uka.ipd.sdq.simulation.abstractsimengine.ISimulationTimeProvider simTimeProvider)
        Constructor.
        Parameters:
        model -
        modelAccessFactory - Access factory for model access interfaces.
        reconfigurators - Set of reconfigurators which will be triggered as soon as new, interesting monitoring data arrives.
    • Method Detail

      • checkAndExecuteReconfigurations

        protected void checkAndExecuteReconfigurations​(Notification notification)
        Method which is called on a change in the RuntimeMeasurement. All reconfigurators are informed and can check for potential reconfigurations.
        Parameters:
        notification - The notification event, which describes a change in the RuntimeMeasurement model.
      • getMonitoredElement

        protected EObject getMonitoredElement​(Notification notification)
        Retrieve the monitored PCM element from the RuntimeMeasurement change event.
        Parameters:
        notification - The RuntimeMeasurment change event.
        Returns:
        The PCM element whose monitoring triggered the change event.