Class TakeNumberOfResourceContainersTriggeredProbe
- java.lang.Object
-
- org.palladiosimulator.probeframework.probes.Probe
-
- org.palladiosimulator.probeframework.probes.TriggeredProbe
-
- org.palladiosimulator.probeframework.probes.BasicTriggeredProbe<Long,javax.measure.quantity.Dimensionless>
-
- org.palladiosimulator.simulizar.simulationevents.TakeNumberOfResourceContainersTriggeredProbe
-
- All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.probeframework.probes.listener.IProbeListener>
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
public class TakeNumberOfResourceContainersTriggeredProbe extends org.palladiosimulator.probeframework.probes.BasicTriggeredProbe<Long,javax.measure.quantity.Dimensionless>
Probes the number of resource containers within a resource environment. The probe listens to a resource registry (event source type), informing about any changes within the resource environment. Therefore, the probe has to implement theIResourceEnvironmentListener
interface and to register itself in theregisterListener
method to this resource registry.
-
-
Constructor Summary
Constructors Constructor Description TakeNumberOfResourceContainersTriggeredProbe(de.uka.ipd.sdq.simucomframework.ResourceRegistry resourceReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.measure.Measure<Long,javax.measure.quantity.Dimensionless>
getBasicMeasure(org.palladiosimulator.probeframework.measurement.RequestContext measurementContext)
-
Methods inherited from class org.palladiosimulator.probeframework.probes.BasicTriggeredProbe
doMeasure
-
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
-
-
-
-
Method Detail
-
getBasicMeasure
protected javax.measure.Measure<Long,javax.measure.quantity.Dimensionless> getBasicMeasure(org.palladiosimulator.probeframework.measurement.RequestContext measurementContext)
- Specified by:
getBasicMeasure
in classorg.palladiosimulator.probeframework.probes.BasicTriggeredProbe<Long,javax.measure.quantity.Dimensionless>
-
-