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.
-
Field Summary
Fields inherited from class org.palladiosimulator.probeframework.probes.EventProbe
eventSource
Fields inherited from class org.palladiosimulator.probeframework.probes.Probe
metricEntityDelegate
-
Constructor Summary
ConstructorDescriptionTakeExecutionResultProbe
(FailureStatistics failureStatistics, Map<MarkovFailureType, org.palladiosimulator.metricspec.Identifier> simFailureTypes, org.palladiosimulator.metricspec.Identifier successIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
executionResultRecorder
(MarkovFailureType failureType) protected void
Methods inherited from class org.palladiosimulator.probeframework.probes.BasicEventProbe
notify
Methods inherited from class org.palladiosimulator.probeframework.probes.Probe
addObserver, getMetricDesciption, isCompatibleWith, notifyMeasurementSourceListener, removeObserver
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.palladiosimulator.metricspec.metricentity.IMetricEntity
getMetricDesciption, isCompatibleWith
-
Constructor Details
-
TakeExecutionResultProbe
public TakeExecutionResultProbe(FailureStatistics failureStatistics, Map<MarkovFailureType, org.palladiosimulator.metricspec.Identifier> simFailureTypes, org.palladiosimulator.metricspec.Identifier successIdentifier)
-
-
Method Details
-
registerListener
protected void registerListener()- Specified by:
registerListener
in classorg.palladiosimulator.probeframework.probes.EventProbe<FailureStatistics>
-
executionResultRecorder
- Specified by:
executionResultRecorder
in interfaceIFailureStatisticsListener
-