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
eventSourceFields inherited from class org.palladiosimulator.probeframework.probes.Probe
metricEntityDelegate -
Constructor Summary
ConstructorsConstructorDescriptionTakeExecutionResultProbe(FailureStatistics failureStatistics, Map<MarkovFailureType, org.palladiosimulator.metricspec.Identifier> simFailureTypes, org.palladiosimulator.metricspec.Identifier successIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutionResultRecorder(MarkovFailureType failureType) protected voidMethods inherited from class org.palladiosimulator.probeframework.probes.BasicEventProbe
notifyMethods inherited from class org.palladiosimulator.probeframework.probes.Probe
addObserver, getMetricDesciption, isCompatibleWith, notifyMeasurementSourceListener, removeObserverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
registerListenerin classorg.palladiosimulator.probeframework.probes.EventProbe<FailureStatistics>
-
executionResultRecorder
- Specified by:
executionResultRecorderin interfaceIFailureStatisticsListener
-