Package de.uka.ipd.sdq.simucomframework
Class ReliabilitySensorHelper
java.lang.Object
de.uka.ipd.sdq.simucomframework.ReliabilitySensorHelper
This class provides auxiliary functionality for capturing reliability-relevant sensor data during
the simulation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getScenarioProbeSetId
(String usageScenarioId) Retrieves a usage-scenario-specific execution result ProbeSet ID.static void
recordExternalCallResult
(String callName, String externalCallId, FailureException exception, SimuComModel model, org.palladiosimulator.probeframework.measurement.RequestContext requestContext) Records the execution results of an external call action.
-
Constructor Details
-
ReliabilitySensorHelper
public ReliabilitySensorHelper()
-
-
Method Details
-
getScenarioProbeSetId
Retrieves a usage-scenario-specific execution result ProbeSet ID.- Parameters:
usageScenarioId
- the ID of the PCM model element representing the usage scenario- Returns:
- the corresponding ProbeSet ID
-
recordExternalCallResult
public static void recordExternalCallResult(String callName, String externalCallId, FailureException exception, SimuComModel model, org.palladiosimulator.probeframework.measurement.RequestContext requestContext) Records the execution results of an external call action.- Parameters:
callName
- the call name of the external call actionexternalCallId
- the probe set id of the external call actionexception
- the occurred failure exception (if any)simControl
- the simulation control object, keeping the current simulated timerequestContext
- the identification of the request context
-