Class PRMRecorder

    • Constructor Detail

      • PRMRecorder

        public PRMRecorder​(RuntimeMeasurementModel prmAccess,
                           org.palladiosimulator.monitorrepository.MeasurementSpecification measurementSpecification,
                           org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint)
        Constructor
        Parameters:
        prmModel - the model helper.
        measurementSpecification - the measurement specification.
        measuringPoint - The measuring point to be used.
      • PRMRecorder

        public PRMRecorder​(RuntimeMeasurementModel prmAccess,
                           org.palladiosimulator.monitorrepository.MeasurementSpecification measurementSpecification)
        Constructor
        Parameters:
        prmModel - the model helper.
        measurementSpecification - the measurement specification.
    • Method Detail

      • detachFromPRM

        protected final void detachFromPRM()
      • updateMeasurementValue

        protected void updateMeasurementValue​(double value)
        Add measurement for measurement specification and PCMModelElementMeasurement to prm model.
        Parameters:
        value - the measurement value.
      • getMeasurementSpecification

        protected org.palladiosimulator.monitorrepository.MeasurementSpecification getMeasurementSpecification()
        Returns:
        returns the measurementSpecification.
      • getPRMMeasurement

        protected final RuntimeMeasurement getPRMMeasurement()
        Returns:
        returns the pcmModelElementMeasurement.