Class TriggeredProbeList
java.lang.Object
org.palladiosimulator.probeframework.probes.Probe
org.palladiosimulator.probeframework.probes.TriggeredProbe
org.palladiosimulator.probeframework.probes.TriggeredProbeList
- All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<IProbeListener>
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
Triggered probe lists group a set of subsumed, triggered probes. Therefore, triggered probe lists
can implement
doMeasure
by invoking doMeasure
on each of their subsumed
probes and by returning a measurement tuple of measurement results from these probes.-
Field Summary
Fields inherited from class org.palladiosimulator.probeframework.probes.Probe
metricEntityDelegate
-
Constructor Summary
ConstructorDescriptionTriggeredProbeList
(org.palladiosimulator.metricspec.MetricDescription metricSetDescription, List<TriggeredProbe> subsumedProbes) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected ProbeMeasurement
doMeasure
(RequestContext measurementContext) Template method for taking the desired probe measurement in a given request context.Methods inherited from class org.palladiosimulator.probeframework.probes.TriggeredProbe
takeMeasurement, takeMeasurement
Methods inherited from class org.palladiosimulator.probeframework.probes.Probe
addObserver, getMetricDesciption, isCompatibleWith, notifyMeasurementSourceListener, removeObserver
-
Constructor Details
-
TriggeredProbeList
public TriggeredProbeList(org.palladiosimulator.metricspec.MetricDescription metricSetDescription, List<TriggeredProbe> subsumedProbes) Default constructor. Expects the list of subsumed, triggered probes.- Parameters:
subsumedProbes
- The list of subsumed probes.metricSetDescription
- The metric set description of the measurements this probe delivers.- Throws:
IllegalArgumentException
- If a subsumed probe is not a triggered probe.
-
-
Method Details
-
doMeasure
Template method for taking the desired probe measurement in a given request context.- Specified by:
doMeasure
in classTriggeredProbe
- Parameters:
measurementContext
- The measurement context for this probe.- Returns:
- The taken probe measurement.
-