Class IdentityCalculator

  • All Implemented Interfaces:
    org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener>, org.palladiosimulator.metricspec.metricentity.IMetricEntity, IProbeListener

    public class IdentityCalculator
    extends UnaryCalculator
    Identity calculators are unary calculators that directly let probe measurements pass through. For example, the current state of a "take passive resource state probe" may directly be passed through in order to determine its utilization.
    • Field Summary

      • Fields inherited from class org.palladiosimulator.probeframework.calculator.Calculator

        probes
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentityCalculator​(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint, Probe probe)
      Default constructor.
      IdentityCalculator​(org.palladiosimulator.metricspec.MetricDescription metricDescription, org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint, Probe probe)
      Default constructor.
    • Constructor Detail

      • IdentityCalculator

        public IdentityCalculator​(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint,
                                  Probe probe)
        Default constructor. Directly passes all elements to the unary calculator constructor.
        Parameters:
        measuringPoint - MeasuringPoint as needed by the superclass.
        probe - The observed probe.
      • IdentityCalculator

        public IdentityCalculator​(org.palladiosimulator.metricspec.MetricDescription metricDescription,
                                  org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint,
                                  Probe probe)
        Default constructor. Directly passes all elements to the unary calculator constructor.
        Parameters:
        metricDescription - MetricDescriptions as needed by the superclass.
        measuringPoint - MeasuringPoint as needed by the superclass.
        probe - The observed probe.