public abstract class AbstractMeasureProvider extends Object implements IMeasureProvider
Modifier and Type | Method and Description |
---|---|
javax.measure.Measure<?,?>[] |
asArray()
Returns the list of measure objects via an array.
|
abstract List<javax.measure.Measure<?,?>> |
asList()
Returns the list of measure objects via a Java utils list.
|
<V,Q extends javax.measure.quantity.Quantity> |
getMeasureForMetric(org.palladiosimulator.metricspec.MetricDescription wantedMetric)
Returns a measure object by looking for a given metric conforming to that measure object.
|
abstract MeasuringValue |
getMeasurementForMetric(org.palladiosimulator.metricspec.MetricDescription metricDesciption) |
public <V,Q extends javax.measure.quantity.Quantity> javax.measure.Measure<V,Q> getMeasureForMetric(org.palladiosimulator.metricspec.MetricDescription wantedMetric)
getMeasureForMetric
in interface IMeasureProvider
V
- Value type of the measure, e.g., Double.Q
- Quantity of the measure, e.g., 2.0 seconds.wantedMetric
- The metric to look for.public abstract MeasuringValue getMeasurementForMetric(org.palladiosimulator.metricspec.MetricDescription metricDesciption)
public abstract List<javax.measure.Measure<?,?>> asList()
asList
in interface IMeasureProvider
public javax.measure.Measure<?,?>[] asArray()
asArray
in interface IMeasureProvider