Interface IMeasureProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.measure.Measure<?,​?>[] asArray()
      Returns the list of measure objects via an array.
      List<javax.measure.Measure<?,​?>> asList()
      Returns the list of measure objects via a Java utils list.
      <VALUE_TYPE,​QUANTITY extends javax.measure.quantity.Quantity>
      javax.measure.Measure<VALUE_TYPE,​QUANTITY>
      getMeasureForMetric​(org.palladiosimulator.metricspec.MetricDescription wantedMetric)
      Returns a measure object by looking for a given metric conforming to that measure object.
    • Method Detail

      • getMeasureForMetric

        <VALUE_TYPE,​QUANTITY extends javax.measure.quantity.Quantity> javax.measure.Measure<VALUE_TYPE,​QUANTITY> getMeasureForMetric​(org.palladiosimulator.metricspec.MetricDescription wantedMetric)
        Returns a measure object by looking for a given metric conforming to that measure object.
        Type Parameters:
        VALUE_TYPE - Value type of the measure, e.g., Double.
        QUANTITY - Quantity of the measure, e.g., 2.0 seconds.
        Parameters:
        wantedMetric - The metric to look for.
        Returns:
        A measure object conforming to the given metric.
      • asList

        List<javax.measure.Measure<?,​?>> asList()
        Returns the list of measure objects via a Java utils list.
        Returns:
        the list of measure objects.
      • asArray

        javax.measure.Measure<?,​?>[] asArray()
        Returns the list of measure objects via an array.
        Returns:
        the array of measure objects.