Class HoldingTimeCalculator
- java.lang.Object
-
- org.palladiosimulator.metricspec.metricentity.MetricEntity
-
- org.palladiosimulator.measurementframework.listener.MeasurementSource
-
- org.palladiosimulator.probeframework.calculator.Calculator
-
- org.palladiosimulator.probeframework.calculator.internal.TimeSpanCalculator
-
- org.palladiosimulator.probeframework.calculator.internal.HoldingTimeCalculator
-
- All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener>
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
,IProbeListener
public class HoldingTimeCalculator extends TimeSpanCalculator
Calculates a time span representing the holding time as defined by the HOLDING_TIME_METRIC_TUPLE. It expects a probe giving the start of holding and a probe giving the end of holding, e.g., in a passive resource pool. The final result is a (start point in time, holding time)-tuple.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.probeframework.calculator.Calculator
probes
-
-
Constructor Summary
Constructors Constructor Description HoldingTimeCalculator(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint, List<Probe> probes)
Default Constructor.
-
Method Summary
-
Methods inherited from class org.palladiosimulator.probeframework.calculator.internal.TimeSpanCalculator
calculate
-
Methods inherited from class org.palladiosimulator.probeframework.calculator.Calculator
equals, getMeasuringPoint, hashCode, newProbeMeasurementAvailable, preUnregister
-
Methods inherited from class org.palladiosimulator.measurementframework.listener.MeasurementSource
addObserver, getMeasurementSourceListeners, notifyMeasurementSourceListener, removeObserver
-
-
-
-
Constructor Detail
-
HoldingTimeCalculator
public HoldingTimeCalculator(org.palladiosimulator.edp2.models.measuringpoint.MeasuringPoint measuringPoint, List<Probe> probes)
Default Constructor.- Parameters:
measuringPoint
- MeasuringPoint as needed by the superclass.probes
- The two probes for starting point of hold time and final point of hold time.
-
-