Class TakeExecutionResultProbe
- java.lang.Object
-
- org.palladiosimulator.probeframework.probes.Probe
-
- org.palladiosimulator.probeframework.probes.EventProbe<EventSourceType>
-
- org.palladiosimulator.probeframework.probes.BasicEventProbe<FailureStatistics,org.palladiosimulator.metricspec.Identifier,javax.measure.quantity.Dimensionless>
-
- org.palladiosimulator.reliability.probe.TakeExecutionResultProbe
-
- All Implemented Interfaces:
org.palladiosimulator.commons.designpatterns.IAbstractObservable<org.palladiosimulator.probeframework.probes.listener.IProbeListener>
,org.palladiosimulator.metricspec.metricentity.IMetricEntity
,IFailureStatisticsListener
public class TakeExecutionResultProbe extends org.palladiosimulator.probeframework.probes.BasicEventProbe<FailureStatistics,org.palladiosimulator.metricspec.Identifier,javax.measure.quantity.Dimensionless> implements IFailureStatisticsListener
ProbeStrategy which is able to measure the type of an execution result. The execution result type is identified through its numeric ID.
-
-
Constructor Summary
Constructors Constructor Description TakeExecutionResultProbe(FailureStatistics failureStatistics, Map<MarkovFailureType,org.palladiosimulator.metricspec.Identifier> simFailureTypes, org.palladiosimulator.metricspec.Identifier successIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executionResultRecorder(MarkovFailureType failureType)
protected void
registerListener()
-
Methods inherited from class org.palladiosimulator.probeframework.probes.Probe
addObserver, getMetricDesciption, isCompatibleWith, notifyMeasurementSourceListener, removeObserver
-
-
-
-
Constructor Detail
-
TakeExecutionResultProbe
public TakeExecutionResultProbe(FailureStatistics failureStatistics, Map<MarkovFailureType,org.palladiosimulator.metricspec.Identifier> simFailureTypes, org.palladiosimulator.metricspec.Identifier successIdentifier)
-
-
Method Detail
-
registerListener
protected void registerListener()
- Specified by:
registerListener
in classorg.palladiosimulator.probeframework.probes.EventProbe<FailureStatistics>
-
executionResultRecorder
public void executionResultRecorder(MarkovFailureType failureType)
- Specified by:
executionResultRecorder
in interfaceIFailureStatisticsListener
-
-