Class TriggeredProbeList

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

public class TriggeredProbeList extends TriggeredProbe
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.
  • 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

      protected ProbeMeasurement doMeasure(RequestContext measurementContext)
      Template method for taking the desired probe measurement in a given request context.
      Specified by:
      doMeasure in class TriggeredProbe
      Parameters:
      measurementContext - The measurement context for this probe.
      Returns:
      The taken probe measurement.